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