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