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