1 2013-06-19 Will Newton <will.newton@linaro.org>
3 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
5 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
7 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
9 2013-06-12 Nick Clifton <nickc@redhat.com>
11 * ldcref.c (output_one_cref): Place common definitions after
12 ordinary definitions but before references.
14 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
17 * ld.texinfo (Source Code Reference): Fix typos.
19 2013-06-07 Will Newton <will.newton@linaro.org>
21 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
23 2013-06-07 Nick Clifton <nickc@redhat.com>
25 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
26 option must appear before the SEGMENT_START is encountered in
27 order for the default value to be overridden.
29 2013-05-03 Alan Modra <amodra@gmail.com>
32 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
33 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
35 2013-05-03 Alan Modra <amodra@gmail.com>
37 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
38 Only call lang_for_each_statement if an ELF hash table is used.
40 2013-05-02 Nick Clifton <nickc@redhat.com>
42 * Makefile.am: Add emsp430X.c
43 * Makefine.in: Regenerate.
44 * configure.tgt (msp430): Add msp430X emulation.
45 * ldmain.c (multiple_definition): Only disable relaxation if it
46 was enabled by the user.
47 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
48 * emulparams/msp430all.sh: Add support for MSP430X.
49 * emultempl/generic.em: (before_parse): Enable relaxation for the
51 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
53 * scripttempl/msp430_3.sc: Likewise.
54 * NEWS: Mention support for MSP430X.
56 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
58 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
59 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
60 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
62 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
64 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
65 Use is_elf_hash_table rather than a handcoded condition.
67 2013-04-30 Nick Clifton <nickc@redhat.com>
69 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
70 are sorted by descending order of alignment.
72 2013-04-29 Nick Clifton <nickc@redhat.com>
74 * scripttempl/DWARF.sc: Add support for .debug_line.* and
77 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
79 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
82 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
84 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
85 * scripttempl/avr.sc: Likewise.
86 * scripttempl/elf.sc: Likewise.
87 * scripttempl/elf32cr16.sc: Likewise.
88 * scripttempl/elf32crx.sc: Likewise.
89 * scripttempl/elf32msp430.sc: Likewise.
90 * scripttempl/elf32msp430_3.sc: Likewise.
91 * scripttempl/elf32sh-symbian.sc: Likewise.
92 * scripttempl/elf64hppa.sc: Likewise.
93 * scripttempl/elf_chaos.sc: Likewise.
94 * scripttempl/elfd10v.sc: Likewise.
95 * scripttempl/elfd30v.sc: Likewise.
96 * scripttempl/elfi370.sc: Likewise.
97 * scripttempl/elfm68hc11.sc: Likewise.
98 * scripttempl/elfm68hc12.sc: Likewise.
99 * scripttempl/elfxgate.sc: Likewise.
100 * scripttempl/elfxtensa.sc: Likewise.
101 * scripttempl/epiphany_4x4.sc: Likewise.
102 * scripttempl/i386beos.sc: Likewise.
103 * scripttempl/i386go32.sc: Likewise.
104 * scripttempl/ia64vms.sc: Likewise.
105 * scripttempl/ip2k.sc: Likewise.
106 * scripttempl/iq2000.sc: Likewise.
107 * scripttempl/mep.sc: Likewise.
108 * scripttempl/mmo.sc: Likewise.
109 * scripttempl/v850.sc: Likewise.
110 * scripttempl/v850_rh850.sc: Likewise.
111 * scripttempl/xstormy16.sc: Likewise.
113 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
115 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
117 2013-04-26 Alan Modra <amodra@gmail.com>
119 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
120 unresolved_syms_in_shared_libs rather than !executable to
121 determine whether to load DT_NEEDED libraries.
123 2013-04-25 Alan Modra <amodra@gmail.com>
125 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
126 (eelf32lppclinux.c): New rule.
127 * Makefile.in: Regenerate.
128 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
129 with corresponding little-endian targets.
130 * emulparams/elf32lppc.sh: Update comment.
131 * emulparams/elf32lppclinux.sh: New.
133 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
135 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
137 (targ_extra_libpath): Likewise.
138 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
140 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
142 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
143 * emulparams/aarch64linux.sh: Ditto.
144 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
145 Replace elf64 with elf${ELFSIZE}.
146 (elf64_aarch64_add_stub_section): Likewise.
147 (build_section_lists): Likewise.
148 (gld${EMULATION_NAME}_after_allocation): Likewise.
149 (gld${EMULATION_NAME}_finish): Likewise.
150 (aarch64_elf_create_output_section_statements): Likewise.
152 2013-04-24 Nick Clifton <nickc@redhat.com>
155 * scripttempl/avr.sc: Add .note.gnu.build-id section.
157 2013-04-22 Alan Modra <amodra@gmail.com>
159 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
160 Check return from ppc64_elf_init_stub_bfd.
162 2013-04-15 Nick Clifton <nickc@redhat.com>
164 * Makefile.am (ELF_DEPS): Add a dependency upon
165 scripttempl/DWARF.sc.
166 (ELF_GEN_DEPS): Likewise.
168 * Makefile.in: Regenerate.
170 * scripttempl/armbpabi.sc: Replace DWARF sections with an
171 inclusion of DWARF.sc.
172 * scripttempl/avr.sc: Likewise.
173 * scripttempl/elf.sc: Likewise.
174 * scripttempl/elf32cr16.sc: Likewise.
175 * scripttempl/elf32crx.sc: Likewise.
176 * scripttempl/elf32msp430.sc: Likewise.
177 * scripttempl/elf32msp430_3.sc: Likewise.
178 * scripttempl/elf32sh-symbian.sc: Likewise.
179 * scripttempl/elf64hppa.sc: Likewise.
180 * scripttempl/elf_chaos.sc: Likewise.
181 * scripttempl/elfd10v.sc: Likewise.
182 * scripttempl/elfd30v.sc: Likewise.
183 * scripttempl/elfi370.sc: Likewise.
184 * scripttempl/elfm68hc11.sc: Likewise.
185 * scripttempl/elfm68hc12.sc: Likewise.
186 * scripttempl/elfxgate.sc: Likewise.
187 * scripttempl/elfxtensa.sc: Likewise.
188 * scripttempl/epiphany_4x4.sc: Likewise.
189 * scripttempl/i386beos.sc: Likewise.
190 * scripttempl/i386go32.sc: Likewise.
191 * scripttempl/ia64vms.sc: Likewise.
192 * scripttempl/ip2k.sc: Likewise.
193 * scripttempl/iq2000.sc: Likewise.
194 * scripttempl/mep.sc: Likewise.
195 * scripttempl/mmo.sc: Likewise.
196 * scripttempl/v850.sc: Likewise.
197 * scripttempl/v850_rh850.sc: Likewise.
198 * scripttempl/xstormy16.sc: Likewise.
199 * scripttempl/DWARF.sc: New.
201 2013-04-04 Alan Modra <amodra@gmail.com>
203 * ldlang.c (load_symbols): Report "error adding symbols" on
204 bfd_link_add_symbols failure.
205 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
206 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
207 (gld${EMULATION_NAME}_try_needed): Likewise.
209 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
212 * scripttempl/avr.sc: Place trampolines before .progmem section.
214 2013-03-25 Kai Tietz <ktietz@redhat.com>
216 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
218 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
220 * ld.texinfo (H8/300): Add description of relaxation of
221 mov @(disp:32,ERx) to mov @(disp:16,ERx).
223 2013-03-21 Kai Tietz <ktietz@redhat.com>
225 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
226 generated C++-symbols as stdcall/fastcall.
228 2013-03-18 Alan Modra <amodra@gmail.com>
230 * ld.texinfo (--as-needed): Update.
232 2013-03-14 Jakub Jelinek <jakub@redhat.com>
234 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
235 aarch64linux* emulations.
237 2013-03-07 Alan Modra <amodra@gmail.com>
239 * ldfile.c (ldfile_open_command_file_1): Return after einfo
242 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
244 * configure.host: Add x86_64-*-cygwin* as valid host.
245 * configure.tgt: Add x86_64-*-cygwin* as valid target.
246 * emultempl/pep.em: Handle different requirements for Cygwin in terms
247 of start addresses for executables and DLLs, based on memory model in
248 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
250 2013-03-05 Alan Modra <amodra@gmail.com>
253 * ldlang.c (lang_size_sections_1): When given an lma_region align
254 LMA as per VMA only if lma_region is the same as region.
256 2013-02-27 Nick Clifton <nickc@redhat.com>
258 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
259 Add alignment of .bss section.
260 * scripttempl/elf32msp430_3.sc: Likewise.
262 2013-02-26 Nick Clifton <nickc@redhat.com>
265 * ld.texinfo: Fix typos.
267 2013-02-21 Alan Modra <amodra@gmail.com>
269 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
270 .init_array/.fini_array input sections before .ctors/.dtors input
272 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
274 2013-02-21 Alan Modra <amodra@gmail.com>
276 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
277 for elf_tdata changes.
279 2013-02-21 Alan Modra <amodra@gmail.com>
281 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
284 2013-02-20 Alan Modra <amodra@gmail.com>
286 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
287 * Makefile.in: Regenerate.
289 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
292 * plugin.c (plugin_notice): Add null check before dereferencing
295 2013-02-19 Alan Modra <amodra@gmail.com>
297 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
298 Replace all info->emit_note_gnu_build_id refs.
299 (id_note_section_size): Rename from
300 gld${EMULATION_NAME}_id_note_section_size.
301 (struct build_id_info): Delete.
302 (write_build_id): Rename from
303 gld${EMULATION_NAME}_write_build_id_section.
304 Update elf_tdata usage. Style, formatting.
305 (setup_build_id): New function.
306 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
308 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
311 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
314 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
317 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
319 2013-02-15 Kai Tietz <ktietz@redhat.com>
321 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
322 (.pdata): Merge .pdata* into .pdata section.
324 2013-02-11 Alan Modra <amodra@gmail.com>
326 * ldlang.c (get_init_priority): Comment typo.
327 (lang_finish): Free link_info.hash and lang_definedness_table.
328 (lang_end): Delete lang_definedness_table comment.
330 2013-02-11 Alan Modra <amodra@gmail.com>
333 * ld.texinfo (-rpath-link): Typo fix.
335 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
337 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
338 rather than userdata->flags.just_syms.
340 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
341 Andrew Jenner <andrew@codesourcery.com>
343 Based on patches from Altera Corporation.
345 * Makefile.am (enios2elf.c): New rule.
346 * Makefile.in: Regenerated.
347 * configure.tgt: Add case for nios2*-*-*.
348 * emulparams/nios2elf.sh: New file.
349 * NEWS: Note Altera Nios II support.
351 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
353 * emultempl/avrelf.em (avr_elf_before_parse): New function.
354 (LDEMUL_BEFORE_PARSE): Define.
356 2013-02-06 Alan Modra <amodra@gmail.com>
359 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
360 * emultempl/alphaelf.em: Revert 2013-02-04.
361 * emultempl/cr16elf.em: Likewise.
362 * emultempl/crxelf.em: Likewise.
363 * emultempl/hppaelf.em: Likewise.
364 * emultempl/ia64elf.em: Likewise.
365 * emultempl/mipself.em: Likewise.
366 * NEWS: Revert 2013-01-21.
368 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
371 * emultempl/alphaelf.em (alpha_after_parse): Call
372 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
373 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
374 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
375 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
376 * emultempl/mipself.em (mips_after_parse): Likewise.
378 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
380 (gld_${EMULATION_NAME}_after_parse): This. Call
381 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
382 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
384 * emultempl/elf32.em (new_dtags_set): New variable.
385 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
387 (gld${EMULATION_NAME}_after_parse): New function.
388 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
389 with gld${EMULATION_NAME}_after_parse.
390 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
391 when setting link_info.new_dtags.
393 2013-01-25 Kai Tietz <ktietz@redhat.com>
395 * deffilep.y (def_image_name): Adjust type of base-address
397 (%union): Add new type bfd_vma as vma.
399 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
400 (def_file_print): Use bfd's fprintf_vma to output base-address.
402 2013-01-24 Nick Clifton <nickc@redhat.com>
404 * NEWS: Mention support for V850E3V5 architecture.
406 2013-01-23 Martin Koegler <martin.koegler@chello.at>
409 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
411 (.debug_frame): Similarly.
413 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
416 * scripttempl/avr.sc (.eeprom): Keep it.
418 2013-01-23 Leif Ekblad <leif@rdos.net>
420 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
421 (eelf64rdos.c): New rule.
422 * emulparams/elf64rdos.sh: New file.
423 * configure.tgt (x86_64-*-rdos*): Use above.
424 * Makefile.in: Regenerate.
426 2013-01-22 Roland McGrath <mcgrathr@google.com>
428 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
429 new_dtags to TRUE for *-*-nacl* targets.
431 2013-01-21 Mike Frysinger <vapier@gentoo.org>
433 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
434 link_info.new_dtags to TRUE for linux/gnu targets.
435 * NEWS: Mention new dtags default.
437 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
439 * Makefile.am (HOSTING_SCRT0): New.
441 * configure.host (HOSTING_SCRT0): New. Used for PIE.
443 * configure.in (HOSTING_SCRT0): New AC_SUBST.
445 * Makefile.in: Regenerated.
446 * configure: Likewise.
448 2013-01-18 Mike Frysinger <vapier@gentoo.org>
450 * NEWS: Mention change in behavior with --enable-new-dtags.
451 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
453 2013-01-14 Leif Ekblad <leif@rdos.net>
454 Alan Modra <amodra@gmail.com>
456 * ld.texinfo (-Tldata-segment): Describe.
457 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
458 * lexsup.c (ld_options): Add -Tldata-segment.
459 (parse_args): Handle OPTION_TLDATA_SEGMENT.
460 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
462 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
464 * deffilep.y: Remove trailing white spaces.
465 * elf-hints-local.h: Likewise.
467 * ldlang.h: Likewise.
468 * ldmisc.c: Likewise.
469 * ldwrite.c: Likewise.
470 * pe-dll.c: Likewise.
471 * emulparams/criself.sh: Likewise.
472 * emulparams/crislinux.sh: Likewise.
473 * emulparams/elf32_tic6x_le.sh: Likewise.
474 * emulparams/elf32bmipn32-defs.sh: Likewise.
475 * emulparams/elf32mb_linux.sh: Likewise.
476 * emulparams/elf32mep.sh: Likewise.
477 * emulparams/elf32microblaze.sh: Likewise.
478 * emulparams/elf32ppc.sh: Likewise.
479 * emulparams/elf64_s390.sh: Likewise.
480 * emulparams/elf64alpha.sh: Likewise.
481 * emulparams/elf_s390.sh: Likewise.
482 * emulparams/elf_x86_64.sh: Likewise.
483 * emulparams/tic80coff.sh: Likewise.
484 * emultempl/aix.em: Likewise.
485 * emultempl/avrelf.em: Likewise.
486 * emultempl/cr16elf.em: Likewise.
487 * emultempl/pe.em: Likewise.
488 * emultempl/pep.em: Likewise.
489 * emultempl/spuelf.em: Likewise.
490 * emultempl/tic6xdsbt.em: Likewise.
492 2013-01-10 Will Newton <will.newton@imgtec.com>
494 * Makefile.am: Add Meta.
495 * Makefile.in: Regenerate.
496 * configure.tgt: Add Meta.
497 * emulparams/elf32metag.sh: New file.
498 * emultempl/metagelf.em: New file.
500 2013-01-09 Alan Modra <amodra@gmail.com>
502 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
503 * emulparams/elf32_x86_64.sh: Likewise.
504 * emulparams/elf_k1om.sh: Likewise.
505 * emulparams/elf_l1om.sh: Likewise.
506 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
507 OTHER_BSS_SECTIONS. Substitute in script.
509 2013-01-08 Leif Ekblad <leif@rdos.net>
511 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
513 2013-01-08 Alan Modra <amodra@gmail.com>
515 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
516 "name" param with a bfd_link_needed_list pointer. Update caller.
517 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
519 2013-01-08 Alan Modra <amodra@gmail.com>
521 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
522 * Makefile.in: Regenerate.
524 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
526 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
529 2013-01-07 Patrice Dumas <pertusus@free.fr>
531 * ld.texinfo: Replace @ with @@ when it is part of the text.
532 Correct ordering of M68HC11 entry.
534 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
536 * configure.tgt: Support ELF files for Sony Playstation 2 (for
538 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
539 Playstation 2 ELF files using MIPS ABI n32.
540 * emulparams/elf32lr5900.sh: Create linker script for Sony
541 Playstation 2 ELF files using MIPS ABI o32.
542 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
545 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
547 * ldver.c (ldversion): Update copyright year to 2013.
549 For older changes see ChangeLog-2012
551 Copyright (C) 2013 Free Software Foundation, Inc.
553 Copying and distribution of this file, with or without modification,
554 are permitted in any medium without royalty provided the copyright
555 notice and this notice are preserved.
561 version-control: never