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