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