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