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