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