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