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