1 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
3 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
4 * scripttempl/avr.sc: Likewise.
5 * scripttempl/elf.sc: Likewise.
6 * scripttempl/elf32cr16.sc: Likewise.
7 * scripttempl/elf32crx.sc: Likewise.
8 * scripttempl/elf32msp430.sc: Likewise.
9 * scripttempl/elf32msp430_3.sc: Likewise.
10 * scripttempl/elf32sh-symbian.sc: Likewise.
11 * scripttempl/elf64hppa.sc: Likewise.
12 * scripttempl/elf_chaos.sc: Likewise.
13 * scripttempl/elfd10v.sc: Likewise.
14 * scripttempl/elfd30v.sc: Likewise.
15 * scripttempl/elfi370.sc: Likewise.
16 * scripttempl/elfm68hc11.sc: Likewise.
17 * scripttempl/elfm68hc12.sc: Likewise.
18 * scripttempl/elfxgate.sc: Likewise.
19 * scripttempl/elfxtensa.sc: Likewise.
20 * scripttempl/epiphany_4x4.sc: Likewise.
21 * scripttempl/i386beos.sc: Likewise.
22 * scripttempl/i386go32.sc: Likewise.
23 * scripttempl/ia64vms.sc: Likewise.
24 * scripttempl/ip2k.sc: Likewise.
25 * scripttempl/iq2000.sc: Likewise.
26 * scripttempl/mep.sc: Likewise.
27 * scripttempl/mmo.sc: Likewise.
28 * scripttempl/v850.sc: Likewise.
29 * scripttempl/v850_rh850.sc: Likewise.
30 * scripttempl/xstormy16.sc: Likewise.
32 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
34 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
36 2013-04-26 Alan Modra <amodra@gmail.com>
38 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
39 unresolved_syms_in_shared_libs rather than !executable to
40 determine whether to load DT_NEEDED libraries.
42 2013-04-25 Alan Modra <amodra@gmail.com>
44 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
45 (eelf32lppclinux.c): New rule.
46 * Makefile.in: Regenerate.
47 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
48 with corresponding little-endian targets.
49 * emulparams/elf32lppc.sh: Update comment.
50 * emulparams/elf32lppclinux.sh: New.
52 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
54 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
56 (targ_extra_libpath): Likewise.
57 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
59 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
61 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
62 * emulparams/aarch64linux.sh: Ditto.
63 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
64 Replace elf64 with elf${ELFSIZE}.
65 (elf64_aarch64_add_stub_section): Likewise.
66 (build_section_lists): Likewise.
67 (gld${EMULATION_NAME}_after_allocation): Likewise.
68 (gld${EMULATION_NAME}_finish): Likewise.
69 (aarch64_elf_create_output_section_statements): Likewise.
71 2013-04-24 Nick Clifton <nickc@redhat.com>
74 * scripttempl/avr.sc: Add .note.gnu.build-id section.
76 2013-04-22 Alan Modra <amodra@gmail.com>
78 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
79 Check return from ppc64_elf_init_stub_bfd.
81 2013-04-15 Nick Clifton <nickc@redhat.com>
83 * Makefile.am (ELF_DEPS): Add a dependency upon
85 (ELF_GEN_DEPS): Likewise.
87 * Makefile.in: Regenerate.
89 * scripttempl/armbpabi.sc: Replace DWARF sections with an
90 inclusion of DWARF.sc.
91 * scripttempl/avr.sc: Likewise.
92 * scripttempl/elf.sc: Likewise.
93 * scripttempl/elf32cr16.sc: Likewise.
94 * scripttempl/elf32crx.sc: Likewise.
95 * scripttempl/elf32msp430.sc: Likewise.
96 * scripttempl/elf32msp430_3.sc: Likewise.
97 * scripttempl/elf32sh-symbian.sc: Likewise.
98 * scripttempl/elf64hppa.sc: Likewise.
99 * scripttempl/elf_chaos.sc: Likewise.
100 * scripttempl/elfd10v.sc: Likewise.
101 * scripttempl/elfd30v.sc: Likewise.
102 * scripttempl/elfi370.sc: Likewise.
103 * scripttempl/elfm68hc11.sc: Likewise.
104 * scripttempl/elfm68hc12.sc: Likewise.
105 * scripttempl/elfxgate.sc: Likewise.
106 * scripttempl/elfxtensa.sc: Likewise.
107 * scripttempl/epiphany_4x4.sc: Likewise.
108 * scripttempl/i386beos.sc: Likewise.
109 * scripttempl/i386go32.sc: Likewise.
110 * scripttempl/ia64vms.sc: Likewise.
111 * scripttempl/ip2k.sc: Likewise.
112 * scripttempl/iq2000.sc: Likewise.
113 * scripttempl/mep.sc: Likewise.
114 * scripttempl/mmo.sc: Likewise.
115 * scripttempl/v850.sc: Likewise.
116 * scripttempl/v850_rh850.sc: Likewise.
117 * scripttempl/xstormy16.sc: Likewise.
118 * scripttempl/DWARF.sc: New.
120 2013-04-04 Alan Modra <amodra@gmail.com>
122 * ldlang.c (load_symbols): Report "error adding symbols" on
123 bfd_link_add_symbols failure.
124 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
125 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
126 (gld${EMULATION_NAME}_try_needed): Likewise.
128 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
131 * scripttempl/avr.sc: Place trampolines before .progmem section.
133 2013-03-25 Kai Tietz <ktietz@redhat.com>
135 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
137 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
139 * ld.texinfo (H8/300): Add description of relaxation of
140 mov @(disp:32,ERx) to mov @(disp:16,ERx).
142 2013-03-21 Kai Tietz <ktietz@redhat.com>
144 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
145 generated C++-symbols as stdcall/fastcall.
147 2013-03-18 Alan Modra <amodra@gmail.com>
149 * ld.texinfo (--as-needed): Update.
151 2013-03-14 Jakub Jelinek <jakub@redhat.com>
153 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
154 aarch64linux* emulations.
156 2013-03-07 Alan Modra <amodra@gmail.com>
158 * ldfile.c (ldfile_open_command_file_1): Return after einfo
161 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
163 * configure.host: Add x86_64-*-cygwin* as valid host.
164 * configure.tgt: Add x86_64-*-cygwin* as valid target.
165 * emultempl/pep.em: Handle different requirements for Cygwin in terms
166 of start addresses for executables and DLLs, based on memory model in
167 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
169 2013-03-05 Alan Modra <amodra@gmail.com>
172 * ldlang.c (lang_size_sections_1): When given an lma_region align
173 LMA as per VMA only if lma_region is the same as region.
175 2013-02-27 Nick Clifton <nickc@redhat.com>
177 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
178 Add alignment of .bss section.
179 * scripttempl/elf32msp430_3.sc: Likewise.
181 2013-02-26 Nick Clifton <nickc@redhat.com>
184 * ld.texinfo: Fix typos.
186 2013-02-21 Alan Modra <amodra@gmail.com>
188 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
189 .init_array/.fini_array input sections before .ctors/.dtors input
191 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
193 2013-02-21 Alan Modra <amodra@gmail.com>
195 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
196 for elf_tdata changes.
198 2013-02-21 Alan Modra <amodra@gmail.com>
200 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
203 2013-02-20 Alan Modra <amodra@gmail.com>
205 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
206 * Makefile.in: Regenerate.
208 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
211 * plugin.c (plugin_notice): Add null check before dereferencing
214 2013-02-19 Alan Modra <amodra@gmail.com>
216 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
217 Replace all info->emit_note_gnu_build_id refs.
218 (id_note_section_size): Rename from
219 gld${EMULATION_NAME}_id_note_section_size.
220 (struct build_id_info): Delete.
221 (write_build_id): Rename from
222 gld${EMULATION_NAME}_write_build_id_section.
223 Update elf_tdata usage. Style, formatting.
224 (setup_build_id): New function.
225 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
227 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
230 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
233 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
236 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
238 2013-02-15 Kai Tietz <ktietz@redhat.com>
240 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
241 (.pdata): Merge .pdata* into .pdata section.
243 2013-02-11 Alan Modra <amodra@gmail.com>
245 * ldlang.c (get_init_priority): Comment typo.
246 (lang_finish): Free link_info.hash and lang_definedness_table.
247 (lang_end): Delete lang_definedness_table comment.
249 2013-02-11 Alan Modra <amodra@gmail.com>
252 * ld.texinfo (-rpath-link): Typo fix.
254 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
256 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
257 rather than userdata->flags.just_syms.
259 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
260 Andrew Jenner <andrew@codesourcery.com>
262 Based on patches from Altera Corporation.
264 * Makefile.am (enios2elf.c): New rule.
265 * Makefile.in: Regenerated.
266 * configure.tgt: Add case for nios2*-*-*.
267 * emulparams/nios2elf.sh: New file.
268 * NEWS: Note Altera Nios II support.
270 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
272 * emultempl/avrelf.em (avr_elf_before_parse): New function.
273 (LDEMUL_BEFORE_PARSE): Define.
275 2013-02-06 Alan Modra <amodra@gmail.com>
278 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
279 * emultempl/alphaelf.em: Revert 2013-02-04.
280 * emultempl/cr16elf.em: Likewise.
281 * emultempl/crxelf.em: Likewise.
282 * emultempl/hppaelf.em: Likewise.
283 * emultempl/ia64elf.em: Likewise.
284 * emultempl/mipself.em: Likewise.
285 * NEWS: Revert 2013-01-21.
287 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
290 * emultempl/alphaelf.em (alpha_after_parse): Call
291 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
292 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
293 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
294 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
295 * emultempl/mipself.em (mips_after_parse): Likewise.
297 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
299 (gld_${EMULATION_NAME}_after_parse): This. Call
300 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
301 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
303 * emultempl/elf32.em (new_dtags_set): New variable.
304 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
306 (gld${EMULATION_NAME}_after_parse): New function.
307 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
308 with gld${EMULATION_NAME}_after_parse.
309 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
310 when setting link_info.new_dtags.
312 2013-01-25 Kai Tietz <ktietz@redhat.com>
314 * deffilep.y (def_image_name): Adjust type of base-address
316 (%union): Add new type bfd_vma as vma.
318 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
319 (def_file_print): Use bfd's fprintf_vma to output base-address.
321 2013-01-24 Nick Clifton <nickc@redhat.com>
323 * NEWS: Mention support for V850E3V5 architecture.
325 2013-01-23 Martin Koegler <martin.koegler@chello.at>
328 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
330 (.debug_frame): Similarly.
332 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
335 * scripttempl/avr.sc (.eeprom): Keep it.
337 2013-01-23 Leif Ekblad <leif@rdos.net>
339 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
340 (eelf64rdos.c): New rule.
341 * emulparams/elf64rdos.sh: New file.
342 * configure.tgt (x86_64-*-rdos*): Use above.
343 * Makefile.in: Regenerate.
345 2013-01-22 Roland McGrath <mcgrathr@google.com>
347 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
348 new_dtags to TRUE for *-*-nacl* targets.
350 2013-01-21 Mike Frysinger <vapier@gentoo.org>
352 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
353 link_info.new_dtags to TRUE for linux/gnu targets.
354 * NEWS: Mention new dtags default.
356 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
358 * Makefile.am (HOSTING_SCRT0): New.
360 * configure.host (HOSTING_SCRT0): New. Used for PIE.
362 * configure.in (HOSTING_SCRT0): New AC_SUBST.
364 * Makefile.in: Regenerated.
365 * configure: Likewise.
367 2013-01-18 Mike Frysinger <vapier@gentoo.org>
369 * NEWS: Mention change in behavior with --enable-new-dtags.
370 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
372 2013-01-14 Leif Ekblad <leif@rdos.net>
373 Alan Modra <amodra@gmail.com>
375 * ld.texinfo (-Tldata-segment): Describe.
376 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
377 * lexsup.c (ld_options): Add -Tldata-segment.
378 (parse_args): Handle OPTION_TLDATA_SEGMENT.
379 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
381 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
383 * deffilep.y: Remove trailing white spaces.
384 * elf-hints-local.h: Likewise.
386 * ldlang.h: Likewise.
387 * ldmisc.c: Likewise.
388 * ldwrite.c: Likewise.
389 * pe-dll.c: Likewise.
390 * emulparams/criself.sh: Likewise.
391 * emulparams/crislinux.sh: Likewise.
392 * emulparams/elf32_tic6x_le.sh: Likewise.
393 * emulparams/elf32bmipn32-defs.sh: Likewise.
394 * emulparams/elf32mb_linux.sh: Likewise.
395 * emulparams/elf32mep.sh: Likewise.
396 * emulparams/elf32microblaze.sh: Likewise.
397 * emulparams/elf32ppc.sh: Likewise.
398 * emulparams/elf64_s390.sh: Likewise.
399 * emulparams/elf64alpha.sh: Likewise.
400 * emulparams/elf_s390.sh: Likewise.
401 * emulparams/elf_x86_64.sh: Likewise.
402 * emulparams/tic80coff.sh: Likewise.
403 * emultempl/aix.em: Likewise.
404 * emultempl/avrelf.em: Likewise.
405 * emultempl/cr16elf.em: Likewise.
406 * emultempl/pe.em: Likewise.
407 * emultempl/pep.em: Likewise.
408 * emultempl/spuelf.em: Likewise.
409 * emultempl/tic6xdsbt.em: Likewise.
411 2013-01-10 Will Newton <will.newton@imgtec.com>
413 * Makefile.am: Add Meta.
414 * Makefile.in: Regenerate.
415 * configure.tgt: Add Meta.
416 * emulparams/elf32metag.sh: New file.
417 * emultempl/metagelf.em: New file.
419 2013-01-09 Alan Modra <amodra@gmail.com>
421 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
422 * emulparams/elf32_x86_64.sh: Likewise.
423 * emulparams/elf_k1om.sh: Likewise.
424 * emulparams/elf_l1om.sh: Likewise.
425 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
426 OTHER_BSS_SECTIONS. Substitute in script.
428 2013-01-08 Leif Ekblad <leif@rdos.net>
430 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
432 2013-01-08 Alan Modra <amodra@gmail.com>
434 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
435 "name" param with a bfd_link_needed_list pointer. Update caller.
436 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
438 2013-01-08 Alan Modra <amodra@gmail.com>
440 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
441 * Makefile.in: Regenerate.
443 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
445 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
448 2013-01-07 Patrice Dumas <pertusus@free.fr>
450 * ld.texinfo: Replace @ with @@ when it is part of the text.
451 Correct ordering of M68HC11 entry.
453 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
455 * configure.tgt: Support ELF files for Sony Playstation 2 (for
457 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
458 Playstation 2 ELF files using MIPS ABI n32.
459 * emulparams/elf32lr5900.sh: Create linker script for Sony
460 Playstation 2 ELF files using MIPS ABI o32.
461 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
464 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
466 * ldver.c (ldversion): Update copyright year to 2013.
468 For older changes see ChangeLog-2012
470 Copyright (C) 2013 Free Software Foundation, Inc.
472 Copying and distribution of this file, with or without modification,
473 are permitted in any medium without royalty provided the copyright
474 notice and this notice are preserved.
480 version-control: never