Add support for DragonFlyBSD target.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5b806d27
NC
12011-03-26 John Marino <binutils@marino.st>
2
3 * configure.host: Update *-*-dragonfly* host entry.
4 * configure.tgt: Update *-*-dragonfly* target entry.
5 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
6
f31d24a0
JM
72011-03-28 Joseph Myers <joseph@codesourcery.com>
8
9 * configure.in: Check for windows.h, not Windows.h.
10 * configure: Regenerate.
11 * plugin.c: Include windows.h, not Windows.h.
12
d0289b45
EW
132011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
14
15 * Makefile.in: Regenerate.
16
d436a15e
JM
172011-03-23 Joseph Myers <joseph@codesourcery.com>
18
19 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
20 are enabled. Mark level as possibly unused.
21
8cc66334
EW
222011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
23
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.
36
ef844a53
EW
372011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
38
39 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
40
35fc36a8
RS
412011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
42
43 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
44 eh->target_internal.
45
cbc704f3
RS
462011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
47
48 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
49 instead of dynamic_sections_created.
50
10be1b6a
DK
512011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
52
53 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
54
422b6f14
DK
552011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
56
57 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
58
8543fde5
DK
592011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
60
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.
71
cf4dc96f
DK
722011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
73
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.
79
4bf0cafb
DK
802011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
81
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.
86
1715a13c
L
872011-03-04 H.J. Lu <hongjiu.lu@intel.com>
88
89 * ld.texinfo: Document --verbose[=NUMBER].
90
91 * lexsup.c (ld_options): Update --verbose.
92 (parse_args): Set report_plugin_symbols.
93
94 * plugin.c (report_plugin_symbols): New.
95 (get_symbols): Report plugin symbols if report_plugin_symbols
96 is TRUE.
97
98 * plugin.h (report_plugin_symbols): New.
99
f4c37f56
L
1002011-03-01 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR ld/12529
103 * testplug.c: Don't include "filenames.h".
104 (onclaim_file): Don't use filename_cmp.
105
42627821
KT
1062011-02-28 Kai Tietz <kai.tietz@onevision.com>
107
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.
126
174b85fc
L
1272011-02-24 H.J. Lu <hongjiu.lu@intel.com>
128
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.
133
8ff09c12
L
1342011-02-24 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR ld/12507
137 * plugin.c (get_symbols): Don't mark entry symbol IR only.
138
ae97b922
DA
1392011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
140
141 PR ld/12376
142 emulparams/hppalinux.sh (DATA_ADDR): Define.
143 (SHLIB_DATA_ADDR): Likewise.
144
73f2a3d2
L
1452011-02-16 H.J. Lu <hongjiu.lu@intel.com>
146
147 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
148 x32 for x32.
149
fd11958c
KT
1502011-02-15 Kai Tietz <kai.tietz@onevision.com>
151
152 * pe-dll.c (process_def_file_and_drectve): Don't strip
153 leading underscore from symbol by calling bfd_find_version_for_sym.
154
93252b1c
MF
1552011-02-14 Mike Frysinger <vapier@gentoo.org>
156
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.
161
498cd2a0
AM
1622011-02-14 Alan Modra <amodra@gmail.com>
163
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.
170
822ce8ee
RW
1712011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172
173 * configure: Regenerate.
174
09b910c6
AM
1752011-02-10 Alan Modra <amodra@gmail.com>
176
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.
199
3cb62297
L
2002011-01-22 H.J. Lu <hongjiu.lu@intel.com>
201
202 * Makefile.am (CXX): Removed.
203
204 * configure.in: Add AC_PROG_CXX.
205
206 * Makefile.in: Regenerated.
207 * configure: Likewise.
208
ed88c97e
RS
2092011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
210
211 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
212 private data and GP size.
213
9bc8bb33
AM
2142011-01-21 Alan Modra <amodra@gmail.com>
215
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.
219
175b7cd4
AM
2202011-01-14 Alan Modra <amodra@gmail.com>
221
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.
225
a05e447f
AM
2262011-01-14 J. Park <grassman@gmail.com>
227
228 PR ld/12339
229 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
230
3ed41d59
AM
2312011-01-14 Alan Modra <amodra@gmail.com>
232
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.
238
2e57b2af
AM
2392011-01-13 Alan Modra <amodra@gmail.com>
240
01554a74
AM
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.
258
2e57b2af
AM
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.
269
ea7c2e6c
AM
2702011-01-12 Alan Modra <amodra@gmail.com>
271
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.
284
f7465604
NC
2852011-01-10 Nick Clifton <nickc@redhat.com>
286
287 * po/da.po: Updated Danish translation.
288
1e915804
L
2892011-01-10 H.J. Lu <hongjiu.lu@intel.com>
290
291 * ldlang.c (startup_file): Removed.
292 (lang_startup): Updated.
293
cc322803
L
2942011-01-05 H.J. Lu <hongjiu.lu@intel.com>
295
296 PR ld/12364
297 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
298 before accessing its flags field.
299
0db46eb4
L
3002011-01-01 H.J. Lu <hongjiu.lu@intel.com>
301
302 * ldver.c (ldversion): Update copyright to 2011.
303
9e9e0820 304For older changes see ChangeLog-2010
252b5132
RH
305\f
306Local Variables:
307mode: change-log
308left-margin: 8
309fill-column: 74
310version-control: never
311End:
This page took 0.702639 seconds and 4 git commands to generate.