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