Add support for DragonFlyBSD target.
[binutils.git] / ld / ChangeLog
Commit [+]AuthorDateLineData
9f9a0b1a
NC
Nick Clifton2011-03-28 11:18:20 +000012011-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
b6d40962
JM
Joseph Myers2011-03-28 10:27:07 +000072011-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
779952be
EW
Eric B. Weddington2011-03-25 18:04:48 +0000132011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
14
15 * Makefile.in: Regenerate.
16
34e2daaf
JM
Joseph Myers2011-03-23 19:53:05 +0000172011-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
e81a5b49
EW
Eric B. Weddington2011-03-22 18:10:39 +0000222011-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
a289f496
EW
Eric B. Weddington2011-03-21 20:07:40 +0000372011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
38
39 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
40
e3ac86ce
RS
Richard Sandiford2011-03-14 15:53:57 +0000412011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
42
1588e2ae
RS
Richard Sandiford2011-03-14 15:54:57 +000043 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
44 eh->target_internal.
45
462011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
47
e3ac86ce
RS
Richard Sandiford2011-03-14 15:53:57 +000048 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
49 instead of dynamic_sections_created.
50
fed6bc20
DK
Dave Korn2011-03-10 10:20:26 +0000512011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
52
893c9cf4
DK
Dave Korn2011-03-10 10:27:50 +000053 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
54
552011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
56
cccf13bf
DK
Dave Korn2011-03-10 10:26:26 +000057 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
58
592011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
60
73bf2d19
DK
Dave Korn2011-03-10 10:25:02 +000061 * 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
722011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
73
5c5638e1
DK
Dave Korn2011-03-10 10:22:24 +000074 * 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
802011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
81
fed6bc20
DK
Dave Korn2011-03-10 10:20:26 +000082 * 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
ecdcc590
L
H.J. Lu2011-03-04 23:44:01 +0000872011-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
38fdfd83
L
H.J. Lu2011-03-01 22:55:35 +00001002011-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
e54f9d80
KT
Kai Tietz2011-02-28 18:34:52 +00001062011-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
ecba94ba
L
H.J. Lu2011-02-24 22:58:05 +00001272011-02-24 H.J. Lu <hongjiu.lu@intel.com>
128
129 PR ld/12507
d0a343a3
L
H.J. Lu2011-02-26 04:38:34 +0000130 * 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
1342011-02-24 H.J. Lu <hongjiu.lu@intel.com>
135
136 PR ld/12507
ecba94ba
L
H.J. Lu2011-02-24 22:58:05 +0000137 * plugin.c (get_symbols): Don't mark entry symbol IR only.
138
b1fadbe8
DA
Dave Anglin2011-02-18 18:20:28 +00001392011-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
a29c00a4
L
H.J. Lu2011-02-16 19:14:41 +00001452011-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
4589c19d
KT
Kai Tietz2011-02-15 16:15:55 +00001502011-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
7492f8e6
MF
Mike Frysinger2011-02-14 17:03:43 +00001552011-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
fdbc4035
AM
Alan Modra2011-02-14 09:53:14 +00001622011-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
168e750e
RW
Ralf Wildenhues2011-02-13 21:00:08 +00001712011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172
173 * configure: Regenerate.
174
543d9d06
AM
Alan Modra2011-02-10 08:18:57 +00001752011-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
4293dce6
L
H.J. Lu2011-01-22 19:25:36 +00002002011-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
d832f396
RS
Richard Sandiford2011-01-22 10:16:28 +00002092011-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
38e4999a
AM
Alan Modra2011-01-21 13:18:19 +00002142011-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
07a34241
AM
Alan Modra2011-01-14 02:27:41 +00002202011-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
5d6704f1
AM
Alan Modra2011-01-14 02:18:21 +00002262011-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
e77585d8
AM
Alan Modra2011-01-14 02:03:42 +00002312011-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
52ce5123
AM
Alan Modra2011-01-13 13:06:21 +00002392011-01-13 Alan Modra <amodra@gmail.com>
240
241 PR ld/12356
cba8ccce
AM
Alan Modra2011-01-13 13:29:55 +0000242 * 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
259 PR ld/12356
52ce5123
AM
Alan Modra2011-01-13 13:06:21 +0000260 * 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
19f43cc1
AM
Alan Modra2011-01-12 12:07:19 +00002702011-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
6bb0eb35
NC
Nick Clifton2011-01-10 13:51:06 +00002852011-01-10 Nick Clifton <nickc@redhat.com>
286
287 * po/da.po: Updated Danish translation.
288
94acda77
L
H.J. Lu2011-01-10 13:13:32 +00002892011-01-10 H.J. Lu <hongjiu.lu@intel.com>
290
291 * ldlang.c (startup_file): Removed.
292 (lang_startup): Updated.
293
bb5459e1
L
H.J. Lu2011-01-05 14:25:25 +00002942011-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
c5656458
L
H.J. Lu2011-01-01 20:55:46 +00003002011-01-01 H.J. Lu <hongjiu.lu@intel.com>
301
302 * ldver.c (ldversion): Update copyright to 2011.
303
52d32738 H.J. Lu2011-01-01 16:43:50 +0000304For older changes see ChangeLog-2010
aa2289c2
RH
Richard Henderson1999-05-03 07:29:11 +0000305\f
306Local Variables:
307mode: change-log
308left-margin: 8
309fill-column: 74
310version-control: never
311End: