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