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