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