Regenerate Makefile.in.
[binutils.git] / ld / ChangeLog
blob4c43374fb3d28f2b6fe4c288fe7c193897a1d8c7
1 2011-03-25  Eric B. Weddington  <eric.weddington@atmel.com>
3         * Makefile.in: Regenerate.
5 2011-03-23  Joseph Myers  <joseph@codesourcery.com>
7         * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
8         are enabled.  Mark level as possibly unused.
10 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
12         * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
13         (eavrxmega?.c): Likewise.
14         * configure.tgt (targ_extra_emuls): Likewise.
15         * emulparams/avrxmega1.sh: New file.
16         * emulparams/avrxmega2.sh: Likewise.
17         * emulparams/avrxmega3.sh: Likewise.
18         * emulparams/avrxmega4.sh: Likewise.
19         * emulparams/avrxmega5.sh: Likewise.
20         * emulparams/avrxmega6.sh: Likewise.
21         * emulparams/avrxmega7.sh: Likewise.
22         * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
23         Add avrxmega6, avrxmega7 to list of architectures for no stubs.
25 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
27         * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
29 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
31         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
32         eh->target_internal.
34 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
36         * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
37         instead of dynamic_sections_created.
39 2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
41         * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
43 2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
45         * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
47 2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
49         * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
50         wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
51         * ldmain.c (add_archive_element): Set it if the member is claimed.
52         * ldlang.c (new_afile): Initialise claim_archive and claimed members.
53         (find_replacements_insert_point): New helper function.
54         (lang_process): After adding and opening replacement files passed
55         from plugin, splice them into correct place in statement list and
56         file chains to preserve critical link order.
57         (lang_list_insert_after): New helper function.
58         (lang_list_remove_tail): Likewise.
60 2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
62         * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
63         (IRONLY_SUFFIX_LEN): Delete.
64         (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
65         (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
66         enclosing lang input statement instead.
68 2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
70         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
71         alignment of input sections when creating orphan output sections
72         during relocatable link.
73         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
75 2011-03-04  H.J. Lu  <hongjiu.lu@intel.com>
77         * ld.texinfo: Document --verbose[=NUMBER].
79         * lexsup.c (ld_options): Update --verbose.
80         (parse_args): Set report_plugin_symbols.
82         * plugin.c (report_plugin_symbols): New.
83         (get_symbols): Report plugin symbols if report_plugin_symbols
84         is TRUE.
86         * plugin.h (report_plugin_symbols): New.
88 2011-03-01  H.J. Lu  <hongjiu.lu@intel.com>
90         PR ld/12529
91         * testplug.c: Don't include "filenames.h".
92         (onclaim_file): Don't use filename_cmp.
94 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
96         * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
97         * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
98         Likewise.
99         (gld${EMULATION_NAME}_stat_needed): Likewise.
100         (gld${EMULATION_NAME}_check_needed): Likewise.
101         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
102         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
103         * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
104         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
105         * ldfile.c (ldfile_open_file): Likewise.
106         * ldlang.c (wild_sort): Likewise.
107         (lookup_name): Likewise.
108         (check_excluded_libs): Likewise.
109         * ldmisc.c (vfinfo): Likewise.
110         * pe-dll.c (libnamencmp): Likewise.
111         (auto_export): Likewise.
112         (pe_dll_generate_implib): Likewise.
113         * testplug.c (onclaim_file): Likewise.
115 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
117         PR ld/12507
118         * plugin.c (get_symbols): Don't check entry symbol here.
119         (init_non_ironly_hash): Add entry_symbol chain into
120         non_ironly_hash.
122 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
124         PR ld/12507
125         * plugin.c (get_symbols): Don't mark entry symbol IR only.
127 2011-02-18  John David Anglin  <dave.anglin@nrc-cnnrc.gc.ca>
129         PR ld/12376
130         emulparams/hppalinux.sh (DATA_ADDR): Define.
131         (SHLIB_DATA_ADDR): Likewise.
133 2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
135         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
136         x32 for x32.
138 2011-02-15  Kai Tietz  <kai.tietz@onevision.com>
140         * pe-dll.c (process_def_file_and_drectve): Don't strip
141         leading underscore from symbol by calling bfd_find_version_for_sym.
143 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
145         * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
146         the bfd_demangle of sym, change users of sym to c_sym when not
147         already demangling, and free when done.  Change callers of
148         cplus_demangle to bfd_demangle.
150 2011-02-14  Alan Modra  <amodra@gmail.com>
152         * ldmain.c (remove_output): Rename to..
153         (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
154         (main): Adjust.
155         * plugin.c (plugin_call_cleanup): Make global.
156         (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
157         * plugin.h (plugin_call_cleanup): Declare.
159 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
161         * configure: Regenerate.
163 2011-02-10  Alan Modra  <amodra@gmail.com>
165         * scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
166         * scripttempl/avr.sc: Likewise.
167         * scripttempl/elf32cr16.sc: Likewise.
168         * scripttempl/elf32crx.sc: Likewise.
169         * scripttempl/elf32msp430.sc: Likewise.
170         * scripttempl/elf32msp430_3.sc: Likewise.
171         * scripttempl/elf32sh-symbian.sc: Likewise.
172         * scripttempl/elf64hppa.sc: Likewise.
173         * scripttempl/elf_chaos.sc: Likewise.
174         * scripttempl/elfd10v.sc: Likewise.
175         * scripttempl/elfd30v.sc: Likewise.
176         * scripttempl/elfi370.sc: Likewise.
177         * scripttempl/elfm68hc11.sc: Likewise.
178         * scripttempl/elfm68hc12.sc: Likewise.
179         * scripttempl/elfxtensa.sc: Likewise.
180         * scripttempl/ip2k.sc: Likewise.
181         * scripttempl/iq2000.sc: Likewise.
182         * scripttempl/mep.sc: Likewise.
183         * scripttempl/mmo.sc: Likewise.
184         * scripttempl/v850.sc: Likewise.
185         * scripttempl/xstormy16.sc: Likewise.
186         * scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
188 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
190         * Makefile.am (CXX): Removed.
192         * configure.in: Add AC_PROG_CXX.
194         * Makefile.in: Regenerated.
195         * configure: Likewise.
197 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
199         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
200         private data and GP size.
202 2011-01-21  Alan Modra  <amodra@gmail.com>
204         * ldexp.c (fold_binary): Set result section for arithmetic and
205         logical operations to NULL when both operands are in same section.
206         * ld.texinfo (Expression Section): Describe this.
208 2011-01-14  Alan Modra  <amodra@gmail.com>
210         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
211         attempt to put non-alloc orphans before debug sections, just place
212         them after .comment.
214 2011-01-14  J. Park  <grassman@gmail.com>
216         PR ld/12339
217         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
219 2011-01-14  Alan Modra  <amodra@gmail.com>
221         * Makefile.am: Sort emulation rules.
222         (eelf32am33lin.c): Delete.
223         (ALL_EMULATION_SOURCES): Sort, add missing entries.
224         (ALL_64_EMULATION_SOURCES): Likewise.
225         * Makefile.in: Regenerate.
227 2011-01-13  Alan Modra  <amodra@gmail.com>
229         PR ld/12356
230         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
231         (Expression Section): Update.
232         * ld.h (ld_config_type): Add sane_expr.
233         * ldgram.y (ifile_p1): Add LD_FEATURE.
234         * ldlex.l (LD_FEATYRE): New.
235         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
236         * ldexp.h (struct ldexp_control): Delete uses_defined.
237         * ldexp.c: Remove all uses of uses_defined.
238         (fold_name): Test config.sane_expr rather than ld_compatibility.
239         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
240         during first phase.
241         * ldlang.h (ld_compatibility): Delete.
242         (lang_ld_feature): Declare.
243         * ldlang.c (ld_compatibility): Delete.
244         (open_input_bfds): Only handle assignments for --defsym.
245         (lang_ld_feature): New function.
247         PR ld/12356
248         * ldexp.h (exp_assop): Delete.
249         (exp_assign, exp_defsym): Declare.
250         * ldexp.c (exp_assop): Make static, handle all assignment variations.
251         (exp_assign, exp_defsym): New functions.
252         (exp_provide): Use exp_assop.
253         * ldgram.y (defsym_expr): Use exp_defsym.
254         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
255         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
256         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
258 2011-01-12  Alan Modra  <amodra@gmail.com>
260         PR ld/12380
261         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
262         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
263         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
264         to detect when we've finished sizing sections.
265         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
266         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
267         that we are not inside an output section statement.
268         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
269         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
270         lang_final_phase_enum here.
271         (lang_process): Set lang_final_phase_enum here.
273 2011-01-10  Nick Clifton  <nickc@redhat.com>
275         * po/da.po: Updated Danish translation.
277 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
279         * ldlang.c (startup_file): Removed.
280         (lang_startup): Updated.
282 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
284         PR ld/12364
285         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
286         before accessing its flags field.
288 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
290         * ldver.c (ldversion): Update copyright to 2011.
292 For older changes see ChangeLog-2010
294 Local Variables:
295 mode: change-log
296 left-margin: 8
297 fill-column: 74
298 version-control: never
299 End: