PR ld/13343
[binutils.git] / ld / ChangeLog
blob4df7514093f55d5ced5948915aa799ef8e4236cd
1 2012-02-18  Alan Modra  <amodra@gmail.com>
3         PR ld/13343
4         * ld.h (parsing_defsym): Delete.
5         * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
6         (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
7         exp_get_abs_int): Add tree arg for %S in error messages.  Don't
8         fudge lineno.
9         (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
10         type.filename from sub-tree.
11         (exp_trinop): Likewise, and use "cond" rather than "lhs".
12         * ldexp.h (node_type): Add filename field to struct.
13         * ldfile.c (ldfile_input_filename): Delete.  Remove all refs.
14         * ldfile.h (ldfile_input_filename): Delete.
15         * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
16         %S in error messages.
17         * ldemul.c (syslib_default, hll_default): Likewise.
18         * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
19         lang_get_regions, lang_new_phdr): Likewise.
20         (lang_size_sections_1): Pass addr_tree for %S.
21         * ldlex.h (lex_redirect): Update prototype.
22         (ldlex_filename): Declare.
23         * ldlex.l (<EOF>): Don't set ldfile_input_filename.
24         (lex_redirect): Add fake_filename and count params.  Push
25         fake_filename to file_name_stack and init lineno from count.
26         (ldlex_filename): New function.
27         (lex_warn_invalid): Use above.
28         * ldmain.c (main): Update lex_redirect call.
29         * ldmisc.c (vfinfo <%S>): Take file name and line number from
30         etree_type arg, or use current if arg is NULL.
31         * lexsup.c (parsing_defsym): Delete.
32         (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
34 2012-02-13  Kai Tietz  <ktietz@redhat.com>
36         * deffilep.y (find_export_in_list): Set is_indent for
37         first or last element, if identical.
38         (find_import_in_list): Likewise.
40 2012-02-11  Kai Tietz  <ktietz@redhat.com>
42         * deffilep.y (%union): New type id_const.
43         (opt_name2): New rule.
44         (keyword_as_name): New rule.
45         (dot_name): Replaced by opt_name2 rule.
46         (opt_name): Adjust rule.
47         (opt_equal_name): Likewise.
49 2012-02-11  Pascal Obry  <pascal@obry.net>
51         * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
52         table.
53         (process_def_file_and_drectve): Maintain sorting of exports table
54         after stripping leading @ signs.
56 2012-02-09  Alan Modra  <amodra@gmail.com>
58         * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
60 2012-01-31  H.J. Lu  <hongjiu.lu@intel.com>
62         PR ld/13616
63         * emulparams/elf32_x86_64.sh: Remove NOP.
64         * emulparams/elf_i386.sh: Likewise.
65         * emulparams/elf_i386_be.sh: Likewise.
66         * emulparams/elf_i386_ldso.sh: Likewise.
67         * emulparams/elf_i386_vxworks.sh: Likewise.
68         * emulparams/elf_k1om.sh: Likewise.
69         * emulparams/elf_l1om.sh: Likewise.
70         * emulparams/elf_x86_64.sh: Likewise.
72         * ldlang.c (zero_fill): Initialized to 0.
74         * ldwrite.c (build_link_order): Set data size to linker odrder
75         size when they are the same.
77         * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
79 2012-01-17  Alan Modra  <amodra@gmail.com>
81         * ldver.c (ldversion): Update copyright message year.
83 2012-01-15  Alan Modra  <amodra@gmail.com>
85         PR ld/12758
86         * ldlang.c (lang_process): Don't reopen all files, just those
87         newly added by plugin.
89 2012-01-11  Alan Modra  <amodra@gmail.com>
91         * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
92         PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
93         PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
94         --{no-,}plt-align.
95         (plt_thread_safe, plt_stub_align): New vars.
96         (gld${EMULATION_NAME}_after_allocation): Pass them to
97         ppc64_elf_size_stubs.  Align stub sections according to plt_stub_align.
98         * ld.texinfo: Document new command line options, and an old
99         undocumented option.
101 2012-01-09  Roland McGrath  <mcgrathr@google.com>
103         * configure.in: Use AM_ZLIB.
104         * configure: Regenerated.
106 For older changes see ChangeLog-2011
108 Local Variables:
109 mode: change-log
110 left-margin: 8
111 fill-column: 74
112 version-control: never
113 End: