1 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
3 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
4 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
5 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
7 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
9 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
10 Use is_elf_hash_table rather than a handcoded condition.
12 2013-04-30 Nick Clifton <nickc@redhat.com>
14 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
15 are sorted by descending order of alignment.
17 2013-04-29 Nick Clifton <nickc@redhat.com>
19 * scripttempl/DWARF.sc: Add support for .debug_line.* and
22 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
24 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
27 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
29 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
30 * scripttempl/avr.sc: Likewise.
31 * scripttempl/elf.sc: Likewise.
32 * scripttempl/elf32cr16.sc: Likewise.
33 * scripttempl/elf32crx.sc: Likewise.
34 * scripttempl/elf32msp430.sc: Likewise.
35 * scripttempl/elf32msp430_3.sc: Likewise.
36 * scripttempl/elf32sh-symbian.sc: Likewise.
37 * scripttempl/elf64hppa.sc: Likewise.
38 * scripttempl/elf_chaos.sc: Likewise.
39 * scripttempl/elfd10v.sc: Likewise.
40 * scripttempl/elfd30v.sc: Likewise.
41 * scripttempl/elfi370.sc: Likewise.
42 * scripttempl/elfm68hc11.sc: Likewise.
43 * scripttempl/elfm68hc12.sc: Likewise.
44 * scripttempl/elfxgate.sc: Likewise.
45 * scripttempl/elfxtensa.sc: Likewise.
46 * scripttempl/epiphany_4x4.sc: Likewise.
47 * scripttempl/i386beos.sc: Likewise.
48 * scripttempl/i386go32.sc: Likewise.
49 * scripttempl/ia64vms.sc: Likewise.
50 * scripttempl/ip2k.sc: Likewise.
51 * scripttempl/iq2000.sc: Likewise.
52 * scripttempl/mep.sc: Likewise.
53 * scripttempl/mmo.sc: Likewise.
54 * scripttempl/v850.sc: Likewise.
55 * scripttempl/v850_rh850.sc: Likewise.
56 * scripttempl/xstormy16.sc: Likewise.
58 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
60 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
62 2013-04-26 Alan Modra <amodra@gmail.com>
64 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
65 unresolved_syms_in_shared_libs rather than !executable to
66 determine whether to load DT_NEEDED libraries.
68 2013-04-25 Alan Modra <amodra@gmail.com>
70 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
71 (eelf32lppclinux.c): New rule.
72 * Makefile.in: Regenerate.
73 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
74 with corresponding little-endian targets.
75 * emulparams/elf32lppc.sh: Update comment.
76 * emulparams/elf32lppclinux.sh: New.
78 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
80 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
82 (targ_extra_libpath): Likewise.
83 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
85 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
87 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
88 * emulparams/aarch64linux.sh: Ditto.
89 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
90 Replace elf64 with elf${ELFSIZE}.
91 (elf64_aarch64_add_stub_section): Likewise.
92 (build_section_lists): Likewise.
93 (gld${EMULATION_NAME}_after_allocation): Likewise.
94 (gld${EMULATION_NAME}_finish): Likewise.
95 (aarch64_elf_create_output_section_statements): Likewise.
97 2013-04-24 Nick Clifton <nickc@redhat.com>
100 * scripttempl/avr.sc: Add .note.gnu.build-id section.
102 2013-04-22 Alan Modra <amodra@gmail.com>
104 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
105 Check return from ppc64_elf_init_stub_bfd.
107 2013-04-15 Nick Clifton <nickc@redhat.com>
109 * Makefile.am (ELF_DEPS): Add a dependency upon
110 scripttempl/DWARF.sc.
111 (ELF_GEN_DEPS): Likewise.
113 * Makefile.in: Regenerate.
115 * scripttempl/armbpabi.sc: Replace DWARF sections with an
116 inclusion of DWARF.sc.
117 * scripttempl/avr.sc: Likewise.
118 * scripttempl/elf.sc: Likewise.
119 * scripttempl/elf32cr16.sc: Likewise.
120 * scripttempl/elf32crx.sc: Likewise.
121 * scripttempl/elf32msp430.sc: Likewise.
122 * scripttempl/elf32msp430_3.sc: Likewise.
123 * scripttempl/elf32sh-symbian.sc: Likewise.
124 * scripttempl/elf64hppa.sc: Likewise.
125 * scripttempl/elf_chaos.sc: Likewise.
126 * scripttempl/elfd10v.sc: Likewise.
127 * scripttempl/elfd30v.sc: Likewise.
128 * scripttempl/elfi370.sc: Likewise.
129 * scripttempl/elfm68hc11.sc: Likewise.
130 * scripttempl/elfm68hc12.sc: Likewise.
131 * scripttempl/elfxgate.sc: Likewise.
132 * scripttempl/elfxtensa.sc: Likewise.
133 * scripttempl/epiphany_4x4.sc: Likewise.
134 * scripttempl/i386beos.sc: Likewise.
135 * scripttempl/i386go32.sc: Likewise.
136 * scripttempl/ia64vms.sc: Likewise.
137 * scripttempl/ip2k.sc: Likewise.
138 * scripttempl/iq2000.sc: Likewise.
139 * scripttempl/mep.sc: Likewise.
140 * scripttempl/mmo.sc: Likewise.
141 * scripttempl/v850.sc: Likewise.
142 * scripttempl/v850_rh850.sc: Likewise.
143 * scripttempl/xstormy16.sc: Likewise.
144 * scripttempl/DWARF.sc: New.
146 2013-04-04 Alan Modra <amodra@gmail.com>
148 * ldlang.c (load_symbols): Report "error adding symbols" on
149 bfd_link_add_symbols failure.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
151 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
152 (gld${EMULATION_NAME}_try_needed): Likewise.
154 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
157 * scripttempl/avr.sc: Place trampolines before .progmem section.
159 2013-03-25 Kai Tietz <ktietz@redhat.com>
161 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
163 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
165 * ld.texinfo (H8/300): Add description of relaxation of
166 mov @(disp:32,ERx) to mov @(disp:16,ERx).
168 2013-03-21 Kai Tietz <ktietz@redhat.com>
170 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
171 generated C++-symbols as stdcall/fastcall.
173 2013-03-18 Alan Modra <amodra@gmail.com>
175 * ld.texinfo (--as-needed): Update.
177 2013-03-14 Jakub Jelinek <jakub@redhat.com>
179 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
180 aarch64linux* emulations.
182 2013-03-07 Alan Modra <amodra@gmail.com>
184 * ldfile.c (ldfile_open_command_file_1): Return after einfo
187 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
189 * configure.host: Add x86_64-*-cygwin* as valid host.
190 * configure.tgt: Add x86_64-*-cygwin* as valid target.
191 * emultempl/pep.em: Handle different requirements for Cygwin in terms
192 of start addresses for executables and DLLs, based on memory model in
193 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
195 2013-03-05 Alan Modra <amodra@gmail.com>
198 * ldlang.c (lang_size_sections_1): When given an lma_region align
199 LMA as per VMA only if lma_region is the same as region.
201 2013-02-27 Nick Clifton <nickc@redhat.com>
203 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
204 Add alignment of .bss section.
205 * scripttempl/elf32msp430_3.sc: Likewise.
207 2013-02-26 Nick Clifton <nickc@redhat.com>
210 * ld.texinfo: Fix typos.
212 2013-02-21 Alan Modra <amodra@gmail.com>
214 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
215 .init_array/.fini_array input sections before .ctors/.dtors input
217 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
219 2013-02-21 Alan Modra <amodra@gmail.com>
221 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
222 for elf_tdata changes.
224 2013-02-21 Alan Modra <amodra@gmail.com>
226 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
229 2013-02-20 Alan Modra <amodra@gmail.com>
231 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
232 * Makefile.in: Regenerate.
234 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
237 * plugin.c (plugin_notice): Add null check before dereferencing
240 2013-02-19 Alan Modra <amodra@gmail.com>
242 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
243 Replace all info->emit_note_gnu_build_id refs.
244 (id_note_section_size): Rename from
245 gld${EMULATION_NAME}_id_note_section_size.
246 (struct build_id_info): Delete.
247 (write_build_id): Rename from
248 gld${EMULATION_NAME}_write_build_id_section.
249 Update elf_tdata usage. Style, formatting.
250 (setup_build_id): New function.
251 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
253 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
256 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
259 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
262 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
264 2013-02-15 Kai Tietz <ktietz@redhat.com>
266 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
267 (.pdata): Merge .pdata* into .pdata section.
269 2013-02-11 Alan Modra <amodra@gmail.com>
271 * ldlang.c (get_init_priority): Comment typo.
272 (lang_finish): Free link_info.hash and lang_definedness_table.
273 (lang_end): Delete lang_definedness_table comment.
275 2013-02-11 Alan Modra <amodra@gmail.com>
278 * ld.texinfo (-rpath-link): Typo fix.
280 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
282 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
283 rather than userdata->flags.just_syms.
285 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
286 Andrew Jenner <andrew@codesourcery.com>
288 Based on patches from Altera Corporation.
290 * Makefile.am (enios2elf.c): New rule.
291 * Makefile.in: Regenerated.
292 * configure.tgt: Add case for nios2*-*-*.
293 * emulparams/nios2elf.sh: New file.
294 * NEWS: Note Altera Nios II support.
296 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
298 * emultempl/avrelf.em (avr_elf_before_parse): New function.
299 (LDEMUL_BEFORE_PARSE): Define.
301 2013-02-06 Alan Modra <amodra@gmail.com>
304 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
305 * emultempl/alphaelf.em: Revert 2013-02-04.
306 * emultempl/cr16elf.em: Likewise.
307 * emultempl/crxelf.em: Likewise.
308 * emultempl/hppaelf.em: Likewise.
309 * emultempl/ia64elf.em: Likewise.
310 * emultempl/mipself.em: Likewise.
311 * NEWS: Revert 2013-01-21.
313 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
316 * emultempl/alphaelf.em (alpha_after_parse): Call
317 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
318 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
319 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
320 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
321 * emultempl/mipself.em (mips_after_parse): Likewise.
323 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
325 (gld_${EMULATION_NAME}_after_parse): This. Call
326 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
327 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
329 * emultempl/elf32.em (new_dtags_set): New variable.
330 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
332 (gld${EMULATION_NAME}_after_parse): New function.
333 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
334 with gld${EMULATION_NAME}_after_parse.
335 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
336 when setting link_info.new_dtags.
338 2013-01-25 Kai Tietz <ktietz@redhat.com>
340 * deffilep.y (def_image_name): Adjust type of base-address
342 (%union): Add new type bfd_vma as vma.
344 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
345 (def_file_print): Use bfd's fprintf_vma to output base-address.
347 2013-01-24 Nick Clifton <nickc@redhat.com>
349 * NEWS: Mention support for V850E3V5 architecture.
351 2013-01-23 Martin Koegler <martin.koegler@chello.at>
354 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
356 (.debug_frame): Similarly.
358 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
361 * scripttempl/avr.sc (.eeprom): Keep it.
363 2013-01-23 Leif Ekblad <leif@rdos.net>
365 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
366 (eelf64rdos.c): New rule.
367 * emulparams/elf64rdos.sh: New file.
368 * configure.tgt (x86_64-*-rdos*): Use above.
369 * Makefile.in: Regenerate.
371 2013-01-22 Roland McGrath <mcgrathr@google.com>
373 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
374 new_dtags to TRUE for *-*-nacl* targets.
376 2013-01-21 Mike Frysinger <vapier@gentoo.org>
378 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
379 link_info.new_dtags to TRUE for linux/gnu targets.
380 * NEWS: Mention new dtags default.
382 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
384 * Makefile.am (HOSTING_SCRT0): New.
386 * configure.host (HOSTING_SCRT0): New. Used for PIE.
388 * configure.in (HOSTING_SCRT0): New AC_SUBST.
390 * Makefile.in: Regenerated.
391 * configure: Likewise.
393 2013-01-18 Mike Frysinger <vapier@gentoo.org>
395 * NEWS: Mention change in behavior with --enable-new-dtags.
396 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
398 2013-01-14 Leif Ekblad <leif@rdos.net>
399 Alan Modra <amodra@gmail.com>
401 * ld.texinfo (-Tldata-segment): Describe.
402 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
403 * lexsup.c (ld_options): Add -Tldata-segment.
404 (parse_args): Handle OPTION_TLDATA_SEGMENT.
405 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
407 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
409 * deffilep.y: Remove trailing white spaces.
410 * elf-hints-local.h: Likewise.
412 * ldlang.h: Likewise.
413 * ldmisc.c: Likewise.
414 * ldwrite.c: Likewise.
415 * pe-dll.c: Likewise.
416 * emulparams/criself.sh: Likewise.
417 * emulparams/crislinux.sh: Likewise.
418 * emulparams/elf32_tic6x_le.sh: Likewise.
419 * emulparams/elf32bmipn32-defs.sh: Likewise.
420 * emulparams/elf32mb_linux.sh: Likewise.
421 * emulparams/elf32mep.sh: Likewise.
422 * emulparams/elf32microblaze.sh: Likewise.
423 * emulparams/elf32ppc.sh: Likewise.
424 * emulparams/elf64_s390.sh: Likewise.
425 * emulparams/elf64alpha.sh: Likewise.
426 * emulparams/elf_s390.sh: Likewise.
427 * emulparams/elf_x86_64.sh: Likewise.
428 * emulparams/tic80coff.sh: Likewise.
429 * emultempl/aix.em: Likewise.
430 * emultempl/avrelf.em: Likewise.
431 * emultempl/cr16elf.em: Likewise.
432 * emultempl/pe.em: Likewise.
433 * emultempl/pep.em: Likewise.
434 * emultempl/spuelf.em: Likewise.
435 * emultempl/tic6xdsbt.em: Likewise.
437 2013-01-10 Will Newton <will.newton@imgtec.com>
439 * Makefile.am: Add Meta.
440 * Makefile.in: Regenerate.
441 * configure.tgt: Add Meta.
442 * emulparams/elf32metag.sh: New file.
443 * emultempl/metagelf.em: New file.
445 2013-01-09 Alan Modra <amodra@gmail.com>
447 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
448 * emulparams/elf32_x86_64.sh: Likewise.
449 * emulparams/elf_k1om.sh: Likewise.
450 * emulparams/elf_l1om.sh: Likewise.
451 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
452 OTHER_BSS_SECTIONS. Substitute in script.
454 2013-01-08 Leif Ekblad <leif@rdos.net>
456 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
458 2013-01-08 Alan Modra <amodra@gmail.com>
460 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
461 "name" param with a bfd_link_needed_list pointer. Update caller.
462 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
464 2013-01-08 Alan Modra <amodra@gmail.com>
466 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
467 * Makefile.in: Regenerate.
469 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
471 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
474 2013-01-07 Patrice Dumas <pertusus@free.fr>
476 * ld.texinfo: Replace @ with @@ when it is part of the text.
477 Correct ordering of M68HC11 entry.
479 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
481 * configure.tgt: Support ELF files for Sony Playstation 2 (for
483 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
484 Playstation 2 ELF files using MIPS ABI n32.
485 * emulparams/elf32lr5900.sh: Create linker script for Sony
486 Playstation 2 ELF files using MIPS ABI o32.
487 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
490 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
492 * ldver.c (ldversion): Update copyright year to 2013.
494 For older changes see ChangeLog-2012
496 Copyright (C) 2013 Free Software Foundation, Inc.
498 Copying and distribution of this file, with or without modification,
499 are permitted in any medium without royalty provided the copyright
500 notice and this notice are preserved.
506 version-control: never