1 2013-06-07 Will Newton <will.newton@linaro.org>
3 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
5 2013-06-07 Nick Clifton <nickc@redhat.com>
7 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
8 option must appear before the SEGMENT_START is encountered in
9 order for the default value to be overridden.
11 2013-05-03 Alan Modra <amodra@gmail.com>
14 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
15 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
17 2013-05-03 Alan Modra <amodra@gmail.com>
19 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
20 Only call lang_for_each_statement if an ELF hash table is used.
22 2013-05-02 Nick Clifton <nickc@redhat.com>
24 * Makefile.am: Add emsp430X.c
25 * Makefine.in: Regenerate.
26 * configure.tgt (msp430): Add msp430X emulation.
27 * ldmain.c (multiple_definition): Only disable relaxation if it
28 was enabled by the user.
29 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
30 * emulparams/msp430all.sh: Add support for MSP430X.
31 * emultempl/generic.em: (before_parse): Enable relaxation for the
33 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
35 * scripttempl/msp430_3.sc: Likewise.
36 * NEWS: Mention support for MSP430X.
38 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
40 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
41 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
42 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
44 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
46 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
47 Use is_elf_hash_table rather than a handcoded condition.
49 2013-04-30 Nick Clifton <nickc@redhat.com>
51 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
52 are sorted by descending order of alignment.
54 2013-04-29 Nick Clifton <nickc@redhat.com>
56 * scripttempl/DWARF.sc: Add support for .debug_line.* and
59 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
61 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
64 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
66 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
67 * scripttempl/avr.sc: Likewise.
68 * scripttempl/elf.sc: Likewise.
69 * scripttempl/elf32cr16.sc: Likewise.
70 * scripttempl/elf32crx.sc: Likewise.
71 * scripttempl/elf32msp430.sc: Likewise.
72 * scripttempl/elf32msp430_3.sc: Likewise.
73 * scripttempl/elf32sh-symbian.sc: Likewise.
74 * scripttempl/elf64hppa.sc: Likewise.
75 * scripttempl/elf_chaos.sc: Likewise.
76 * scripttempl/elfd10v.sc: Likewise.
77 * scripttempl/elfd30v.sc: Likewise.
78 * scripttempl/elfi370.sc: Likewise.
79 * scripttempl/elfm68hc11.sc: Likewise.
80 * scripttempl/elfm68hc12.sc: Likewise.
81 * scripttempl/elfxgate.sc: Likewise.
82 * scripttempl/elfxtensa.sc: Likewise.
83 * scripttempl/epiphany_4x4.sc: Likewise.
84 * scripttempl/i386beos.sc: Likewise.
85 * scripttempl/i386go32.sc: Likewise.
86 * scripttempl/ia64vms.sc: Likewise.
87 * scripttempl/ip2k.sc: Likewise.
88 * scripttempl/iq2000.sc: Likewise.
89 * scripttempl/mep.sc: Likewise.
90 * scripttempl/mmo.sc: Likewise.
91 * scripttempl/v850.sc: Likewise.
92 * scripttempl/v850_rh850.sc: Likewise.
93 * scripttempl/xstormy16.sc: Likewise.
95 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
97 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
99 2013-04-26 Alan Modra <amodra@gmail.com>
101 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
102 unresolved_syms_in_shared_libs rather than !executable to
103 determine whether to load DT_NEEDED libraries.
105 2013-04-25 Alan Modra <amodra@gmail.com>
107 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
108 (eelf32lppclinux.c): New rule.
109 * Makefile.in: Regenerate.
110 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
111 with corresponding little-endian targets.
112 * emulparams/elf32lppc.sh: Update comment.
113 * emulparams/elf32lppclinux.sh: New.
115 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
117 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
119 (targ_extra_libpath): Likewise.
120 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
122 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
124 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
125 * emulparams/aarch64linux.sh: Ditto.
126 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
127 Replace elf64 with elf${ELFSIZE}.
128 (elf64_aarch64_add_stub_section): Likewise.
129 (build_section_lists): Likewise.
130 (gld${EMULATION_NAME}_after_allocation): Likewise.
131 (gld${EMULATION_NAME}_finish): Likewise.
132 (aarch64_elf_create_output_section_statements): Likewise.
134 2013-04-24 Nick Clifton <nickc@redhat.com>
137 * scripttempl/avr.sc: Add .note.gnu.build-id section.
139 2013-04-22 Alan Modra <amodra@gmail.com>
141 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
142 Check return from ppc64_elf_init_stub_bfd.
144 2013-04-15 Nick Clifton <nickc@redhat.com>
146 * Makefile.am (ELF_DEPS): Add a dependency upon
147 scripttempl/DWARF.sc.
148 (ELF_GEN_DEPS): Likewise.
150 * Makefile.in: Regenerate.
152 * scripttempl/armbpabi.sc: Replace DWARF sections with an
153 inclusion of DWARF.sc.
154 * scripttempl/avr.sc: Likewise.
155 * scripttempl/elf.sc: Likewise.
156 * scripttempl/elf32cr16.sc: Likewise.
157 * scripttempl/elf32crx.sc: Likewise.
158 * scripttempl/elf32msp430.sc: Likewise.
159 * scripttempl/elf32msp430_3.sc: Likewise.
160 * scripttempl/elf32sh-symbian.sc: Likewise.
161 * scripttempl/elf64hppa.sc: Likewise.
162 * scripttempl/elf_chaos.sc: Likewise.
163 * scripttempl/elfd10v.sc: Likewise.
164 * scripttempl/elfd30v.sc: Likewise.
165 * scripttempl/elfi370.sc: Likewise.
166 * scripttempl/elfm68hc11.sc: Likewise.
167 * scripttempl/elfm68hc12.sc: Likewise.
168 * scripttempl/elfxgate.sc: Likewise.
169 * scripttempl/elfxtensa.sc: Likewise.
170 * scripttempl/epiphany_4x4.sc: Likewise.
171 * scripttempl/i386beos.sc: Likewise.
172 * scripttempl/i386go32.sc: Likewise.
173 * scripttempl/ia64vms.sc: Likewise.
174 * scripttempl/ip2k.sc: Likewise.
175 * scripttempl/iq2000.sc: Likewise.
176 * scripttempl/mep.sc: Likewise.
177 * scripttempl/mmo.sc: Likewise.
178 * scripttempl/v850.sc: Likewise.
179 * scripttempl/v850_rh850.sc: Likewise.
180 * scripttempl/xstormy16.sc: Likewise.
181 * scripttempl/DWARF.sc: New.
183 2013-04-04 Alan Modra <amodra@gmail.com>
185 * ldlang.c (load_symbols): Report "error adding symbols" on
186 bfd_link_add_symbols failure.
187 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
188 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
189 (gld${EMULATION_NAME}_try_needed): Likewise.
191 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
194 * scripttempl/avr.sc: Place trampolines before .progmem section.
196 2013-03-25 Kai Tietz <ktietz@redhat.com>
198 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
200 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
202 * ld.texinfo (H8/300): Add description of relaxation of
203 mov @(disp:32,ERx) to mov @(disp:16,ERx).
205 2013-03-21 Kai Tietz <ktietz@redhat.com>
207 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
208 generated C++-symbols as stdcall/fastcall.
210 2013-03-18 Alan Modra <amodra@gmail.com>
212 * ld.texinfo (--as-needed): Update.
214 2013-03-14 Jakub Jelinek <jakub@redhat.com>
216 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
217 aarch64linux* emulations.
219 2013-03-07 Alan Modra <amodra@gmail.com>
221 * ldfile.c (ldfile_open_command_file_1): Return after einfo
224 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
226 * configure.host: Add x86_64-*-cygwin* as valid host.
227 * configure.tgt: Add x86_64-*-cygwin* as valid target.
228 * emultempl/pep.em: Handle different requirements for Cygwin in terms
229 of start addresses for executables and DLLs, based on memory model in
230 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
232 2013-03-05 Alan Modra <amodra@gmail.com>
235 * ldlang.c (lang_size_sections_1): When given an lma_region align
236 LMA as per VMA only if lma_region is the same as region.
238 2013-02-27 Nick Clifton <nickc@redhat.com>
240 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
241 Add alignment of .bss section.
242 * scripttempl/elf32msp430_3.sc: Likewise.
244 2013-02-26 Nick Clifton <nickc@redhat.com>
247 * ld.texinfo: Fix typos.
249 2013-02-21 Alan Modra <amodra@gmail.com>
251 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
252 .init_array/.fini_array input sections before .ctors/.dtors input
254 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
256 2013-02-21 Alan Modra <amodra@gmail.com>
258 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
259 for elf_tdata changes.
261 2013-02-21 Alan Modra <amodra@gmail.com>
263 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
266 2013-02-20 Alan Modra <amodra@gmail.com>
268 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
269 * Makefile.in: Regenerate.
271 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
274 * plugin.c (plugin_notice): Add null check before dereferencing
277 2013-02-19 Alan Modra <amodra@gmail.com>
279 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
280 Replace all info->emit_note_gnu_build_id refs.
281 (id_note_section_size): Rename from
282 gld${EMULATION_NAME}_id_note_section_size.
283 (struct build_id_info): Delete.
284 (write_build_id): Rename from
285 gld${EMULATION_NAME}_write_build_id_section.
286 Update elf_tdata usage. Style, formatting.
287 (setup_build_id): New function.
288 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
290 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
293 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
296 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
299 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
301 2013-02-15 Kai Tietz <ktietz@redhat.com>
303 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
304 (.pdata): Merge .pdata* into .pdata section.
306 2013-02-11 Alan Modra <amodra@gmail.com>
308 * ldlang.c (get_init_priority): Comment typo.
309 (lang_finish): Free link_info.hash and lang_definedness_table.
310 (lang_end): Delete lang_definedness_table comment.
312 2013-02-11 Alan Modra <amodra@gmail.com>
315 * ld.texinfo (-rpath-link): Typo fix.
317 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
319 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
320 rather than userdata->flags.just_syms.
322 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
323 Andrew Jenner <andrew@codesourcery.com>
325 Based on patches from Altera Corporation.
327 * Makefile.am (enios2elf.c): New rule.
328 * Makefile.in: Regenerated.
329 * configure.tgt: Add case for nios2*-*-*.
330 * emulparams/nios2elf.sh: New file.
331 * NEWS: Note Altera Nios II support.
333 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
335 * emultempl/avrelf.em (avr_elf_before_parse): New function.
336 (LDEMUL_BEFORE_PARSE): Define.
338 2013-02-06 Alan Modra <amodra@gmail.com>
341 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
342 * emultempl/alphaelf.em: Revert 2013-02-04.
343 * emultempl/cr16elf.em: Likewise.
344 * emultempl/crxelf.em: Likewise.
345 * emultempl/hppaelf.em: Likewise.
346 * emultempl/ia64elf.em: Likewise.
347 * emultempl/mipself.em: Likewise.
348 * NEWS: Revert 2013-01-21.
350 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
353 * emultempl/alphaelf.em (alpha_after_parse): Call
354 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
355 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
356 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
357 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
358 * emultempl/mipself.em (mips_after_parse): Likewise.
360 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
362 (gld_${EMULATION_NAME}_after_parse): This. Call
363 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
364 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
366 * emultempl/elf32.em (new_dtags_set): New variable.
367 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
369 (gld${EMULATION_NAME}_after_parse): New function.
370 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
371 with gld${EMULATION_NAME}_after_parse.
372 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
373 when setting link_info.new_dtags.
375 2013-01-25 Kai Tietz <ktietz@redhat.com>
377 * deffilep.y (def_image_name): Adjust type of base-address
379 (%union): Add new type bfd_vma as vma.
381 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
382 (def_file_print): Use bfd's fprintf_vma to output base-address.
384 2013-01-24 Nick Clifton <nickc@redhat.com>
386 * NEWS: Mention support for V850E3V5 architecture.
388 2013-01-23 Martin Koegler <martin.koegler@chello.at>
391 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
393 (.debug_frame): Similarly.
395 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
398 * scripttempl/avr.sc (.eeprom): Keep it.
400 2013-01-23 Leif Ekblad <leif@rdos.net>
402 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
403 (eelf64rdos.c): New rule.
404 * emulparams/elf64rdos.sh: New file.
405 * configure.tgt (x86_64-*-rdos*): Use above.
406 * Makefile.in: Regenerate.
408 2013-01-22 Roland McGrath <mcgrathr@google.com>
410 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
411 new_dtags to TRUE for *-*-nacl* targets.
413 2013-01-21 Mike Frysinger <vapier@gentoo.org>
415 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
416 link_info.new_dtags to TRUE for linux/gnu targets.
417 * NEWS: Mention new dtags default.
419 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
421 * Makefile.am (HOSTING_SCRT0): New.
423 * configure.host (HOSTING_SCRT0): New. Used for PIE.
425 * configure.in (HOSTING_SCRT0): New AC_SUBST.
427 * Makefile.in: Regenerated.
428 * configure: Likewise.
430 2013-01-18 Mike Frysinger <vapier@gentoo.org>
432 * NEWS: Mention change in behavior with --enable-new-dtags.
433 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
435 2013-01-14 Leif Ekblad <leif@rdos.net>
436 Alan Modra <amodra@gmail.com>
438 * ld.texinfo (-Tldata-segment): Describe.
439 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
440 * lexsup.c (ld_options): Add -Tldata-segment.
441 (parse_args): Handle OPTION_TLDATA_SEGMENT.
442 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
444 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
446 * deffilep.y: Remove trailing white spaces.
447 * elf-hints-local.h: Likewise.
449 * ldlang.h: Likewise.
450 * ldmisc.c: Likewise.
451 * ldwrite.c: Likewise.
452 * pe-dll.c: Likewise.
453 * emulparams/criself.sh: Likewise.
454 * emulparams/crislinux.sh: Likewise.
455 * emulparams/elf32_tic6x_le.sh: Likewise.
456 * emulparams/elf32bmipn32-defs.sh: Likewise.
457 * emulparams/elf32mb_linux.sh: Likewise.
458 * emulparams/elf32mep.sh: Likewise.
459 * emulparams/elf32microblaze.sh: Likewise.
460 * emulparams/elf32ppc.sh: Likewise.
461 * emulparams/elf64_s390.sh: Likewise.
462 * emulparams/elf64alpha.sh: Likewise.
463 * emulparams/elf_s390.sh: Likewise.
464 * emulparams/elf_x86_64.sh: Likewise.
465 * emulparams/tic80coff.sh: Likewise.
466 * emultempl/aix.em: Likewise.
467 * emultempl/avrelf.em: Likewise.
468 * emultempl/cr16elf.em: Likewise.
469 * emultempl/pe.em: Likewise.
470 * emultempl/pep.em: Likewise.
471 * emultempl/spuelf.em: Likewise.
472 * emultempl/tic6xdsbt.em: Likewise.
474 2013-01-10 Will Newton <will.newton@imgtec.com>
476 * Makefile.am: Add Meta.
477 * Makefile.in: Regenerate.
478 * configure.tgt: Add Meta.
479 * emulparams/elf32metag.sh: New file.
480 * emultempl/metagelf.em: New file.
482 2013-01-09 Alan Modra <amodra@gmail.com>
484 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
485 * emulparams/elf32_x86_64.sh: Likewise.
486 * emulparams/elf_k1om.sh: Likewise.
487 * emulparams/elf_l1om.sh: Likewise.
488 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
489 OTHER_BSS_SECTIONS. Substitute in script.
491 2013-01-08 Leif Ekblad <leif@rdos.net>
493 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
495 2013-01-08 Alan Modra <amodra@gmail.com>
497 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
498 "name" param with a bfd_link_needed_list pointer. Update caller.
499 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
501 2013-01-08 Alan Modra <amodra@gmail.com>
503 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
504 * Makefile.in: Regenerate.
506 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
508 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
511 2013-01-07 Patrice Dumas <pertusus@free.fr>
513 * ld.texinfo: Replace @ with @@ when it is part of the text.
514 Correct ordering of M68HC11 entry.
516 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
518 * configure.tgt: Support ELF files for Sony Playstation 2 (for
520 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
521 Playstation 2 ELF files using MIPS ABI n32.
522 * emulparams/elf32lr5900.sh: Create linker script for Sony
523 Playstation 2 ELF files using MIPS ABI o32.
524 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
527 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
529 * ldver.c (ldversion): Update copyright year to 2013.
531 For older changes see ChangeLog-2012
533 Copyright (C) 2013 Free Software Foundation, Inc.
535 Copying and distribution of this file, with or without modification,
536 are permitted in any medium without royalty provided the copyright
537 notice and this notice are preserved.
543 version-control: never