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