]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
* Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo.
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
aa137e4d
NC
12011-06-13 Walter Lee <walt@tilera.com>
2
3 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and
4 eelf32tilepro.c.
5 (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c.
6 (eelf32tilegx.c): New target.
7 (eelf32tilepro.c): Likewise.
8 (eelf64tilegx.c): Likewise.
9 * Makefile.in: Regenerate.
10 * configure.tgt: Handle tilegx-*-* and tilepro-*-*.
11 * emulparams/elf32tilegx.sh: New file.
12 * emulparams/elf64tilegx.sh: New file.
13 * emulparams/elf32tilepro.sh: New file.
14
80cc85a9
AM
152011-06-13 Alan Modra <amodra@gmail.com>
16
17 * ldlang.c (sort_def_symbol, lang_one_common): Don't handle
18 warning symbols here.
19 * emultempl/pe.em (pr_sym): Remove redundant test.
20 * emultempl/pep.em (pr_sym): Likewise.
21
ba85c43e
NC
222011-06-09 Nick Clifton <nickc@redhat.com>
23
24 PR ld/12845
25 * emultempl/mipself.em (mips_add_stub_section): Do not add stubs
26 for sections that have been removed by garbage collection.
27
5b4c94ad
AM
282011-06-08 Alan Modra <amodra@gmail.com>
29
30 * ldlang.c (lang_one_common): Handle warning symbols.
31
ab3719da
NC
322011-06-07 Nick Clifton <nickc@redhat.com>
33
34 * configure.tgt: Accept any V850 architecture.
35
bc77a04a
NC
362011-06-03 Nick Clifton <nickc@redhat.com>
37
38 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
39 Add rule to build eelf32am33lin.c
40 * Makefile.in: Regenerate.
41
cc643b88
NC
422011-06-02 Nick Clifton <nickc@redhat.com>
43
44 * lexsup.c: Fix spelling mistake in comment.
45 * scripttempl/epocpe.sc: Likewise.
46 * scripttempl/i386beos.sc: Likewise.
47 * scripttempl/mcorepe.sc: Likewise.
48 * scripttempl/pe.sc: Likewise.
49 * scripttempl/pep.sc: Likewise.
50 * po/ld.pot: Regenerate.
51
f20db198
NC
522011-05-27 Nick Clifton <nickc@redhat.com>
53
54 * scripttempl/v850.sc (_heap_start): Provide.
55
270396f2
AM
562011-05-23 Alan Modra <amodra@gmail.com>
57
58 * ldmisc.c (vfinfo): Add %H.
59 * ldmain.c (reloc_overflow): Use %H rather than %C.
60 (reloc_dangerous, unattached_reloc): Likewise.
61
6de6a7fe
AM
622011-05-23 Alan Modra <amodra@gmail.com>
63
64 PR 12763
65 * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
66 like sections to existing .sdata2, and similarly for orphan TLS
67 sections.
68 * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
69
84bff83f
NC
702011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
71
72 PR ld/12759
73 * emultempl/rxelf.em (ignore_lma): New variable.
74 (rx_elf_create_output_section_statements): Pass the setiing of
75 ignore_lma to bfd_elf32_rx_set_target_flags.
76 (OPTION_IGNORE_LMA): Define.
77 (OPTION_NO_IGNORE_LMA): Define.
78 (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
79 (PARSE_AND_LIST_OPTIONS): Add ignore lma.
80 (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
81
16d96b5b
AM
822011-05-17 Alan Modra <amodra@gmail.com>
83
84 PR ld/12760
85 * ldmain.c (notice): Add "flags" and "string" param.
86 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
87 and constructor syms.
88
f37a7048
NS
892010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
90
91 * ldlang.c (print_assignment): Use the symbol's section if we
92 use its value.
93 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
94 comment on copying symbol type.
95
cd6eee13
AM
962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
97
98 PR ld/12760
99 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
100 undefweak.
101
83e7bd17
AM
1022011-05-16 Alan Modra <amodra@gmail.com>
103
104 * ldlang.c (lang_leave_output_section_statement): Don't copy
105 previous lma_region if given address.
106
2a616379
BS
1072011-05-13 Bernd Schmidt <bernds@codesourcery.com>
108
109 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
110 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
111 * Makefile.am (ALL_EMULATIONS): Add these files.
112 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
113 * Makefile.in: Regenerated.
114 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
115 vectors.
116 * emulparams/elf32_tic6x_elf_be.sh: New file.
117 * emulparams/elf32_tic6x_elf_le.sh: New file.
118 * emulparams/elf32_tic6x_linux_be.sh: New file.
119 * emulparams/elf32_tic6x_linux_le.sh: New file.
120 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
121 (tic6x-*-*): Replaced by these.
122
3ac5406b
JB
1232011-05-13 Jan Beulich <jbeulich@novell.com>
124
125 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
126
fbd9ad90
PB
1272011-05-09 Paul Brook <paul@codesourcery.com>
128
129 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
130 (compare_output_sec_vma): New function.
131 (gld${EMULATION_NAME}_after_allocation): New function.
132 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
133 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
134 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
135 (LDEMUL_AFTER_ALLOCATION): Set.
136 * ld.texinfo: Document c6x --no-merge-exidx-entries.
137
730035f7
DK
1382011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
139
140 PR ld/12365
141 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
142 (__rt_psrelocs_end): Likewise.
143 (__rt_psrelocs_size): Likewise difference between the above.
144 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
145 immediately after end of pseudo-reloc data.
146 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
147 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
148 calculate backward from list end.
149 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
150 * scripttempl/pep.sc: Likewise.
151
55221e4b
TG
1522011-05-06 Tristan Gingold <gingold@adacore.com>
153
154 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
155
45cfb56c
TG
1562011-05-04 Tristan Gingold <gingold@adacore.com>
157
158 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
159 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
160 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
161 (gld${EMULATION_NAME}_add_options): New function.
162 (gld${EMULATION_NAME}_list_options): Ditto.
163 (gld${EMULATION_NAME}_handle_option): Ditto.
164 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
165 (LDEMUL_LIST_OPTIONS): Define.
166
2f65ac72
AM
1672011-05-04 Alan Modra <amodra@gmail.com>
168
169 PR ld/12726
170 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
171 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
172 assign to dot when lang_assigning_phase_enum.
173 * ldlang.h (lang_do_assignments): Update prototype.
174 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
175 callers.
176 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
177 lang_do_assignments calls.
178
e0605dbe
AM
1792011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
180
181 PR ld/12614
182 * emultempl/pe.em (_after_open): Correctly check whether symbol is
183 in undef list.
184
72b016b4
NC
1852011-04-26 Kai Tietz <ktietz@redhat.com>
186
187 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
188 * scripttempl/pep.sc: Likewise.
189
35ed3f94
AM
1902011-04-24 Alan Modra <amodra@gmail.com>
191
192 PR ld/12365
193 PR ld/12696
194 * ldmain.c (notice): Delete "name" param, add "h".
195 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
196 redefinitions of IR symbols in real BFDs.
197 (plugin_multiple_definition, plugin_multiple_common): Delete.
198 (non_ironly_hash, init_non_ironly_hash): Delete.
199 (is_visible_from_outside): Traverse entry_symbol chain.
200 (get_symbols): Use non_ir_ref flag rather than hash lookup.
201
9165b2bf
TG
2022011-04-21 Tristan Gingold <gingold@adacore.com>
203
204 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
205
ced323bd
TG
2062011-04-20 Tristan Gingold <gingold@adacore.com>
207
208 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
209
8ad17b3a
AM
2102011-04-20 Alan Modra <amodra@gmail.com>
211
212 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
213
02d00247
AM
2142011-04-20 Alan Modra <amodra@gmail.com>
215
216 PR ld/12365
217 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
218 to plugin IR BFD..
219 * ldmain.c (add_archive_element): ..and similar code here..
220 * plugin.c (plugin_maybe_claim): ..to here. New function.
221 (plugin_call_claim_file): Make static.
222 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
223 (plugin_multiple_common): New function.
224 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
225 * plugin.h (plugin_call_claim_file): Don't declare.
226 (plugin_maybe_claim): Declare.
227
24f58f47
AM
2282011-04-20 Alan Modra <amodra@gmail.com>
229
230 PR ld/12365
231 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
232 pointer arg rather than "name", "obfd", "osec", "oval". Add code
233 removed from linker.c. Hack around xcofflink.c oddity in
234 passing NULL nbfd.
235 (multiple_common): Similarly.
236 * plugin.c (orig_allow_multiple_defs): Delete.
237 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
238 (plugin_multiple_definition): Update.
239
bdca0ea1
KT
2402011-04-18 Kai Tietz <ktietz@redhat.com>
241
dc204beb
KT
242 * deffilep.y (def_aligncomm): Avoid duplets.
243
bdca0ea1
KT
244 * deffilep.y (def_pool_str): New type.
245 (pool_strs): Local static.
246 (def_pool_alloc): Local function.
247 (def_pool_strdup): Likewise.
248 (def_pool_free): Likewise.
249 (opt_name): Replace xmalloc/xstrdup by
250 def_pool_alloc/def_pool_strdup.
251 (dot_name): Likewise.
252 (anylang_id): Likewise.
253 (def_lex): Likewise.
254 (def_file_parse): Call def_pool_free on
255 exit and cleanup directives elements.
256 (def_file_add_directive): Call def_pool_free.
257
6970a028
PB
2582011-04-18 Paul Brook <paul@codesourcery.com>
259
260 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
261 for unwinding tables.
262
901f1d17
AM
2632011-04-18 Alan Modra <amodra@gmail.com>
264
265 PR ld/12365
266 PR ld/12672
267 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
268 when no_more_claiming.
269 * ldmain.c (add_archive_element): Likewise.
270 (multiple_definition): Remove plugin_multiple_definition call.
271 (notice): Remove plugin_notice call.
272 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
273 Delete prototype.
274 (plugin_insert): New static var.
275 (open_input_bfds): Only rescan libs after plugin insert point.
276 (lang_gc_sections): Omit plugin claimed files.
277 (lang_process): Set plugin_insert. Only rescan when plugin adds
278 objects.
279 * plugin.h (no_more_claiming): Declare.
280 (plugin_notice, plugin_multiple_definition): Don't declare.
281 * plugin.c: Formatting.
282 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
283 plugin_callbacks): New static vars.
284 (no_more_claiming): Make global.
285 (plugin_cached_allow_multiple_defs): Delete.
286 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
287 use newer bfd_make_section variant. Make COMMON section too.
288 Error handling. Correct setting of gp size.
289 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
290 (message): Likewise for ACONCAT.
291 (asymbol_from_plugin_symbol): Use our COMMON section.
292 (get_symbols): When report_plugin_symbols, show visibility too.
293 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
294 (plugin_load_plugins): Save state of linker callbacks, set up to
295 call plugin_notice instead. Call init_non_ironly_hash here.
296 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
297 plugin callbacks.
298 (plugin_notice): Rewrite.
299 (plugin_multiple_definition): Make static, call original callback.
300
486329aa
AM
3012011-04-15 Alan Modra <amodra@gmail.com>
302
303 PR ld/12672
304 * ldlang.c (enum open_bfd_mode): New.
305 (open_input_bfds): Replace "force" param with "mode". Reload
306 archives for rescan. Update all callers.
307 (lang_process): Make another open_input_bfds pass for plugins.
308
db17156e
KT
3092011-04-13 Kai Tietz <ktietz@redhat.com>
310
311 PR binutils/12658
312 * deffile.h (def_file_add_export): Add is_dup argument.
313 (def_file_add_import): Likewise.
314 * deffilep.y (are_names_equal): New helper.
315 (cmp_export_elem): New helper.
316 (find_export_in_list): Add search routine for exports.
317 (def_file_add_export): Check for duplicates.
318 (cmp_import_elem): New helper.
319 (find_import_in_list): Add search routine for imports.
320 (def_file_add_import): Check for duplicates.
321 (def_exports): Handle duplicates.
322 (def_imports): Likewise.
323 * pe-dll.c (process_def_file_and_drectve): Likewise.
324 (pe_implied_import_dll): Likewise.
325
ed0d9c71
NC
3262011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
327
328 * scripttempl/elf.sc (.exception_ranges): Add new section.
329
0e9dfb46
NC
3302011-04-08 Hector Oron <hector.oron@gmail.com>
331
332 PR ld/12643
333 * configure.tgt: Add support for arm-*-gnueabihf targets.
334
80518809
EW
3352011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
336
337 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
338
91db4c57
JM
3392011-04-07 Joseph Myers <joseph@codesourcery.com>
340
341 * configure.tgt: Remove stray ;;.
342
8c5fc800
JM
3432011-04-06 Joseph Myers <joseph@codesourcery.com>
344
345 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
346 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
347 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
348 xscale-*-coff, xscale-*-elf): Remove targets.
349
d02c4aae
L
3502011-03-31 H.J. Lu <hongjiu.lu@intel.com>
351
352 * configure.tgt: Add elf_l1om to targ_extra_libpath for
353 x86_64-*-linux-*.
354
355 * emulparams/elf_l1om.sh: Remove duplicates.
356
ac145307
BS
3572011-03-31 Bernd Schmidt <bernds@codesourcery.com>
358
359 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
360 GENERATE_SHLIB_SCRIPT): New defines.
361 (TEXT_START_ADDR): Define differently depending on target.
362 (.got): Redefine to include "*(.dsbt)".
363 (SDATA_START_SYMBOLS): Remove, replace with
364 (OTHER_GOT_SYMBOLS): New.
365 (OTHER_BSS_SECTIONS): Define only for ELF targets.
366 * emultempl/tic6xdsbt.em: New file.
367 * gen-doc.texi: Set C6X.
368 * ld.texinfo: Likewise.
369 (Options specific to C6X uClinux targets): New section.
370
c3a7b120
AM
3712011-03-29 Alan Modra <amodra@gmail.com>
372
373 PR ld/12613
374 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
375
5b806d27
NC
3762011-03-26 John Marino <binutils@marino.st>
377
378 * configure.host: Update *-*-dragonfly* host entry.
379 * configure.tgt: Update *-*-dragonfly* target entry.
380 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
381
f31d24a0
JM
3822011-03-28 Joseph Myers <joseph@codesourcery.com>
383
384 * configure.in: Check for windows.h, not Windows.h.
385 * configure: Regenerate.
386 * plugin.c: Include windows.h, not Windows.h.
387
d0289b45
EW
3882011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
389
390 * Makefile.in: Regenerate.
391
d436a15e
JM
3922011-03-23 Joseph Myers <joseph@codesourcery.com>
393
394 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
395 are enabled. Mark level as possibly unused.
396
8cc66334
EW
3972011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
398
399 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
400 (eavrxmega?.c): Likewise.
401 * configure.tgt (targ_extra_emuls): Likewise.
402 * emulparams/avrxmega1.sh: New file.
403 * emulparams/avrxmega2.sh: Likewise.
404 * emulparams/avrxmega3.sh: Likewise.
405 * emulparams/avrxmega4.sh: Likewise.
406 * emulparams/avrxmega5.sh: Likewise.
407 * emulparams/avrxmega6.sh: Likewise.
408 * emulparams/avrxmega7.sh: Likewise.
409 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
410 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
411
ef844a53
EW
4122011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
413
414 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
415
35fc36a8
RS
4162011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
417
418 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
419 eh->target_internal.
420
cbc704f3
RS
4212011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
422
423 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
424 instead of dynamic_sections_created.
425
10be1b6a
DK
4262011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
427
428 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
429
422b6f14
DK
4302011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
431
432 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
433
8543fde5
DK
4342011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
435
436 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
437 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
438 * ldmain.c (add_archive_element): Set it if the member is claimed.
439 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
440 (find_replacements_insert_point): New helper function.
441 (lang_process): After adding and opening replacement files passed
442 from plugin, splice them into correct place in statement list and
443 file chains to preserve critical link order.
444 (lang_list_insert_after): New helper function.
445 (lang_list_remove_tail): Likewise.
446
cf4dc96f
DK
4472011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
448
449 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
450 (IRONLY_SUFFIX_LEN): Delete.
451 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
452 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
453 enclosing lang input statement instead.
454
4bf0cafb
DK
4552011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
456
457 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
458 alignment of input sections when creating orphan output sections
459 during relocatable link.
460 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
461
1715a13c
L
4622011-03-04 H.J. Lu <hongjiu.lu@intel.com>
463
464 * ld.texinfo: Document --verbose[=NUMBER].
465
466 * lexsup.c (ld_options): Update --verbose.
467 (parse_args): Set report_plugin_symbols.
468
469 * plugin.c (report_plugin_symbols): New.
470 (get_symbols): Report plugin symbols if report_plugin_symbols
471 is TRUE.
472
473 * plugin.h (report_plugin_symbols): New.
474
f4c37f56
L
4752011-03-01 H.J. Lu <hongjiu.lu@intel.com>
476
477 PR ld/12529
478 * testplug.c: Don't include "filenames.h".
479 (onclaim_file): Don't use filename_cmp.
480
42627821
KT
4812011-02-28 Kai Tietz <kai.tietz@onevision.com>
482
483 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
484 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
485 Likewise.
486 (gld${EMULATION_NAME}_stat_needed): Likewise.
487 (gld${EMULATION_NAME}_check_needed): Likewise.
488 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
489 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
490 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
491 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
492 * ldfile.c (ldfile_open_file): Likewise.
493 * ldlang.c (wild_sort): Likewise.
494 (lookup_name): Likewise.
495 (check_excluded_libs): Likewise.
496 * ldmisc.c (vfinfo): Likewise.
497 * pe-dll.c (libnamencmp): Likewise.
498 (auto_export): Likewise.
499 (pe_dll_generate_implib): Likewise.
500 * testplug.c (onclaim_file): Likewise.
501
174b85fc
L
5022011-02-24 H.J. Lu <hongjiu.lu@intel.com>
503
504 PR ld/12507
505 * plugin.c (get_symbols): Don't check entry symbol here.
506 (init_non_ironly_hash): Add entry_symbol chain into
507 non_ironly_hash.
508
8ff09c12
L
5092011-02-24 H.J. Lu <hongjiu.lu@intel.com>
510
511 PR ld/12507
512 * plugin.c (get_symbols): Don't mark entry symbol IR only.
513
ae97b922
DA
5142011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
515
516 PR ld/12376
517 emulparams/hppalinux.sh (DATA_ADDR): Define.
518 (SHLIB_DATA_ADDR): Likewise.
519
73f2a3d2
L
5202011-02-16 H.J. Lu <hongjiu.lu@intel.com>
521
522 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
523 x32 for x32.
524
fd11958c
KT
5252011-02-15 Kai Tietz <kai.tietz@onevision.com>
526
527 * pe-dll.c (process_def_file_and_drectve): Don't strip
528 leading underscore from symbol by calling bfd_find_version_for_sym.
529
93252b1c
MF
5302011-02-14 Mike Frysinger <vapier@gentoo.org>
531
532 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
533 the bfd_demangle of sym, change users of sym to c_sym when not
534 already demangling, and free when done. Change callers of
535 cplus_demangle to bfd_demangle.
536
486329aa
AM
5372011-02-14 Alan Modra <amodra@gmail.com>
538
539 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
540 .text section, use newer bfd_make_section variant. Error handling.
541 Correct setting of gp size.
542 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
543 (message): Likewise for ACONCAT.
544 (get_symbols): Formatting.
545
498cd2a0
AM
5462011-02-14 Alan Modra <amodra@gmail.com>
547
548 * ldmain.c (remove_output): Rename to..
549 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
550 (main): Adjust.
551 * plugin.c (plugin_call_cleanup): Make global.
552 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
553 * plugin.h (plugin_call_cleanup): Declare.
554
822ce8ee
RW
5552011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
556
557 * configure: Regenerate.
558
09b910c6
AM
5592011-02-10 Alan Modra <amodra@gmail.com>
560
561 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
562 * scripttempl/avr.sc: Likewise.
563 * scripttempl/elf32cr16.sc: Likewise.
564 * scripttempl/elf32crx.sc: Likewise.
565 * scripttempl/elf32msp430.sc: Likewise.
566 * scripttempl/elf32msp430_3.sc: Likewise.
567 * scripttempl/elf32sh-symbian.sc: Likewise.
568 * scripttempl/elf64hppa.sc: Likewise.
569 * scripttempl/elf_chaos.sc: Likewise.
570 * scripttempl/elfd10v.sc: Likewise.
571 * scripttempl/elfd30v.sc: Likewise.
572 * scripttempl/elfi370.sc: Likewise.
573 * scripttempl/elfm68hc11.sc: Likewise.
574 * scripttempl/elfm68hc12.sc: Likewise.
575 * scripttempl/elfxtensa.sc: Likewise.
576 * scripttempl/ip2k.sc: Likewise.
577 * scripttempl/iq2000.sc: Likewise.
578 * scripttempl/mep.sc: Likewise.
579 * scripttempl/mmo.sc: Likewise.
580 * scripttempl/v850.sc: Likewise.
581 * scripttempl/xstormy16.sc: Likewise.
582 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
583
3cb62297
L
5842011-01-22 H.J. Lu <hongjiu.lu@intel.com>
585
586 * Makefile.am (CXX): Removed.
587
588 * configure.in: Add AC_PROG_CXX.
589
590 * Makefile.in: Regenerated.
591 * configure: Likewise.
592
ed88c97e
RS
5932011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
594
595 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
596 private data and GP size.
597
9bc8bb33
AM
5982011-01-21 Alan Modra <amodra@gmail.com>
599
600 * ldexp.c (fold_binary): Set result section for arithmetic and
601 logical operations to NULL when both operands are in same section.
602 * ld.texinfo (Expression Section): Describe this.
603
175b7cd4
AM
6042011-01-14 Alan Modra <amodra@gmail.com>
605
606 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
607 attempt to put non-alloc orphans before debug sections, just place
608 them after .comment.
609
a05e447f
AM
6102011-01-14 J. Park <grassman@gmail.com>
611
612 PR ld/12339
613 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
614
3ed41d59
AM
6152011-01-14 Alan Modra <amodra@gmail.com>
616
617 * Makefile.am: Sort emulation rules.
618 (eelf32am33lin.c): Delete.
619 (ALL_EMULATION_SOURCES): Sort, add missing entries.
620 (ALL_64_EMULATION_SOURCES): Likewise.
621 * Makefile.in: Regenerate.
622
2e57b2af
AM
6232011-01-13 Alan Modra <amodra@gmail.com>
624
01554a74
AM
625 PR ld/12356
626 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
627 (Expression Section): Update.
628 * ld.h (ld_config_type): Add sane_expr.
629 * ldgram.y (ifile_p1): Add LD_FEATURE.
630 * ldlex.l (LD_FEATYRE): New.
631 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
632 * ldexp.h (struct ldexp_control): Delete uses_defined.
633 * ldexp.c: Remove all uses of uses_defined.
634 (fold_name): Test config.sane_expr rather than ld_compatibility.
635 (exp_fold_tree_1): Likewise. Adjust handling of assignments
636 during first phase.
637 * ldlang.h (ld_compatibility): Delete.
638 (lang_ld_feature): Declare.
639 * ldlang.c (ld_compatibility): Delete.
640 (open_input_bfds): Only handle assignments for --defsym.
641 (lang_ld_feature): New function.
642
2e57b2af
AM
643 PR ld/12356
644 * ldexp.h (exp_assop): Delete.
645 (exp_assign, exp_defsym): Declare.
646 * ldexp.c (exp_assop): Make static, handle all assignment variations.
647 (exp_assign, exp_defsym): New functions.
648 (exp_provide): Use exp_assop.
649 * ldgram.y (defsym_expr): Use exp_defsym.
650 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
651 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
652 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
653
ea7c2e6c
AM
6542011-01-12 Alan Modra <amodra@gmail.com>
655
656 PR ld/12380
657 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
658 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
659 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
660 to detect when we've finished sizing sections.
661 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
662 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
663 that we are not inside an output section statement.
664 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
665 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
666 lang_final_phase_enum here.
667 (lang_process): Set lang_final_phase_enum here.
668
f7465604
NC
6692011-01-10 Nick Clifton <nickc@redhat.com>
670
671 * po/da.po: Updated Danish translation.
672
1e915804
L
6732011-01-10 H.J. Lu <hongjiu.lu@intel.com>
674
675 * ldlang.c (startup_file): Removed.
676 (lang_startup): Updated.
677
cc322803
L
6782011-01-05 H.J. Lu <hongjiu.lu@intel.com>
679
680 PR ld/12364
681 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
682 before accessing its flags field.
683
0db46eb4
L
6842011-01-01 H.J. Lu <hongjiu.lu@intel.com>
685
686 * ldver.c (ldversion): Update copyright to 2011.
687
9e9e0820 688For older changes see ChangeLog-2010
252b5132
RH
689\f
690Local Variables:
691mode: change-log
692left-margin: 8
693fill-column: 74
694version-control: never
695End: