2012-02-22 Gary Benson <gbenson@redhat.com>
[binutils.git] / ld / ChangeLog
CommitLineData
6e230cc2
KT
12012-02-19 Kai Tietz <ktietz@redhat.com>
2
3 * deffilep.y (cmp_import_elem): Sort first by module name.
4 * pe-dll.c (process_def_file_and_drectve): Free strings
5 from removed export-element.
6 (add_bfd_to_link): Optimize loop on import-elements and lower
7 allocated memory.
8 (pe_implied_import_dll): Pass NULL instead of 0 for pointer
9 argument.
10
39085894
HPN
112012-02-18 Hans-Peter Nilsson <hp@axis.com>
12
13 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast for
14 temporary variable node used for NULL argument.
15
dab69f68
AM
162012-02-18 Alan Modra <amodra@gmail.com>
17
18 PR ld/13343
19 * ld.h (parsing_defsym): Delete.
20 * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename.
21 (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill,
22 exp_get_abs_int): Add tree arg for %S in error messages. Don't
23 fudge lineno.
24 (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy
25 type.filename from sub-tree.
26 (exp_trinop): Likewise, and use "cond" rather than "lhs".
27 * ldexp.h (node_type): Add filename field to struct.
28 * ldfile.c (ldfile_input_filename): Delete. Remove all refs.
29 * ldfile.h (ldfile_input_filename): Delete.
30 * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for
31 %S in error messages.
32 * ldemul.c (syslib_default, hll_default): Likewise.
33 * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias,
34 lang_get_regions, lang_new_phdr): Likewise.
35 (lang_size_sections_1): Pass addr_tree for %S.
36 * ldlex.h (lex_redirect): Update prototype.
37 (ldlex_filename): Declare.
38 * ldlex.l (<EOF>): Don't set ldfile_input_filename.
39 (lex_redirect): Add fake_filename and count params. Push
40 fake_filename to file_name_stack and init lineno from count.
41 (ldlex_filename): New function.
42 (lex_warn_invalid): Use above.
43 * ldmain.c (main): Update lex_redirect call.
44 * ldmisc.c (vfinfo <%S>): Take file name and line number from
45 etree_type arg, or use current if arg is NULL.
46 * lexsup.c (parsing_defsym): Delete.
47 (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
48
d0ac6938
KT
492012-02-13 Kai Tietz <ktietz@redhat.com>
50
51 * deffilep.y (find_export_in_list): Set is_indent for
52 first or last element, if identical.
53 (find_import_in_list): Likewise.
54
aa83d1ec
KT
552012-02-11 Kai Tietz <ktietz@redhat.com>
56
57 * deffilep.y (%union): New type id_const.
58 (opt_name2): New rule.
59 (keyword_as_name): New rule.
60 (dot_name): Replaced by opt_name2 rule.
61 (opt_name): Adjust rule.
62 (opt_equal_name): Likewise.
63
98872a7c
NC
642012-02-11 Pascal Obry <pascal@obry.net>
65
66 * pe-dll.c (auto_export): Use bsearch to speed up scan of exports
67 table.
68 (process_def_file_and_drectve): Maintain sorting of exports table
69 after stripping leading @ signs.
70
09f6ed34
AM
712012-02-09 Alan Modra <amodra@gmail.com>
72
73 * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
74
b7761f11
L
752012-01-31 H.J. Lu <hongjiu.lu@intel.com>
76
77 PR ld/13616
78 * emulparams/elf32_x86_64.sh: Remove NOP.
79 * emulparams/elf_i386.sh: Likewise.
80 * emulparams/elf_i386_be.sh: Likewise.
81 * emulparams/elf_i386_ldso.sh: Likewise.
82 * emulparams/elf_i386_vxworks.sh: Likewise.
83 * emulparams/elf_k1om.sh: Likewise.
84 * emulparams/elf_l1om.sh: Likewise.
85 * emulparams/elf_x86_64.sh: Likewise.
86
87 * ldlang.c (zero_fill): Initialized to 0.
88
89 * ldwrite.c (build_link_order): Set data size to linker odrder
90 size when they are the same.
91
92 * scripttempl/elf.sc: Don't specify fill if NOP is undefined.
93
576477a6
AM
942012-01-17 Alan Modra <amodra@gmail.com>
95
96 * ldver.c (ldversion): Update copyright message year.
97
cdaa438c
AM
982012-01-15 Alan Modra <amodra@gmail.com>
99
100 PR ld/12758
101 * ldlang.c (lang_process): Don't reopen all files, just those
102 newly added by plugin.
103
794e51c0
AM
1042012-01-11 Alan Modra <amodra@gmail.com>
105
106 * emultempl/ppc64elf.em (PARSE_AND_LIST_PROLOGUE,
107 PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
108 PARSE_AND_LIST_ARGS_CASES): Handle --{no-,}plt-thread-safe and
109 --{no-,}plt-align.
110 (plt_thread_safe, plt_stub_align): New vars.
111 (gld${EMULATION_NAME}_after_allocation): Pass them to
112 ppc64_elf_size_stubs. Align stub sections according to plt_stub_align.
113 * ld.texinfo: Document new command line options, and an old
114 undocumented option.
115
52546677
RM
1162012-01-09 Roland McGrath <mcgrathr@google.com>
117
118 * configure.in: Use AM_ZLIB.
119 * configure: Regenerated.
c0a512e2 120
23e1d329 121For older changes see ChangeLog-2011
252b5132
RH
122\f
123Local Variables:
124mode: change-log
125left-margin: 8
126fill-column: 74
127version-control: never
128End:
This page took 1.257085 seconds and 4 git commands to generate.