1 2013-04-15 Nick Clifton <nickc@redhat.com>
3 * scripttempl/armbpabi.sc: Replace DWARF sections with an
5 * scripttempl/avr.sc: Likewise.
6 * scripttempl/elf.sc: Likewise.
7 * scripttempl/elf32cr16.sc: Likewise.
8 * scripttempl/elf32crx.sc: Likewise.
9 * scripttempl/elf32msp430.sc: Likewise.
10 * scripttempl/elf32msp430_3.sc: Likewise.
11 * scripttempl/elf32sh-symbian.sc: Likewise.
12 * scripttempl/elf64hppa.sc: Likewise.
13 * scripttempl/elf_chaos.sc: Likewise.
14 * scripttempl/elfd10v.sc: Likewise.
15 * scripttempl/elfd30v.sc: Likewise.
16 * scripttempl/elfi370.sc: Likewise.
17 * scripttempl/elfm68hc11.sc: Likewise.
18 * scripttempl/elfm68hc12.sc: Likewise.
19 * scripttempl/elfxgate.sc: Likewise.
20 * scripttempl/elfxtensa.sc: Likewise.
21 * scripttempl/epiphany_4x4.sc: Likewise.
22 * scripttempl/i386beos.sc: Likewise.
23 * scripttempl/i386go32.sc: Likewise.
24 * scripttempl/ia64vms.sc: Likewise.
25 * scripttempl/ip2k.sc: Likewise.
26 * scripttempl/iq2000.sc: Likewise.
27 * scripttempl/mep.sc: Likewise.
28 * scripttempl/mmo.sc: Likewise.
29 * scripttempl/v850.sc: Likewise.
30 * scripttempl/v850_rh850.sc: Likewise.
31 * scripttempl/xstormy16.sc: Likewise.
32 * scripttempl/DWARF.sc: New.
34 2013-04-04 Alan Modra <amodra@gmail.com>
36 * ldlang.c (load_symbols): Report "error adding symbols" on
37 bfd_link_add_symbols failure.
38 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
39 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
40 (gld${EMULATION_NAME}_try_needed): Likewise.
42 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
45 * scripttempl/avr.sc: Place trampolines before .progmem section.
47 2013-03-25 Kai Tietz <ktietz@redhat.com>
49 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
51 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
53 * ld.texinfo (H8/300): Add description of relaxation of
54 mov @(disp:32,ERx) to mov @(disp:16,ERx).
56 2013-03-21 Kai Tietz <ktietz@redhat.com>
58 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
59 generated C++-symbols as stdcall/fastcall.
61 2013-03-18 Alan Modra <amodra@gmail.com>
63 * ld.texinfo (--as-needed): Update.
65 2013-03-14 Jakub Jelinek <jakub@redhat.com>
67 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
68 aarch64linux* emulations.
70 2013-03-07 Alan Modra <amodra@gmail.com>
72 * ldfile.c (ldfile_open_command_file_1): Return after einfo
75 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
77 * configure.host: Add x86_64-*-cygwin* as valid host.
78 * configure.tgt: Add x86_64-*-cygwin* as valid target.
79 * emultempl/pep.em: Handle different requirements for Cygwin in terms
80 of start addresses for executables and DLLs, based on memory model in
81 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
83 2013-03-05 Alan Modra <amodra@gmail.com>
86 * ldlang.c (lang_size_sections_1): When given an lma_region align
87 LMA as per VMA only if lma_region is the same as region.
89 2013-02-27 Nick Clifton <nickc@redhat.com>
91 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
92 Add alignment of .bss section.
93 * scripttempl/elf32msp430_3.sc: Likewise.
95 2013-02-26 Nick Clifton <nickc@redhat.com>
98 * ld.texinfo: Fix typos.
100 2013-02-21 Alan Modra <amodra@gmail.com>
102 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
103 .init_array/.fini_array input sections before .ctors/.dtors input
105 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
107 2013-02-21 Alan Modra <amodra@gmail.com>
109 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
110 for elf_tdata changes.
112 2013-02-21 Alan Modra <amodra@gmail.com>
114 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
117 2013-02-20 Alan Modra <amodra@gmail.com>
119 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
120 * Makefile.in: Regenerate.
122 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
125 * plugin.c (plugin_notice): Add null check before dereferencing
128 2013-02-19 Alan Modra <amodra@gmail.com>
130 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
131 Replace all info->emit_note_gnu_build_id refs.
132 (id_note_section_size): Rename from
133 gld${EMULATION_NAME}_id_note_section_size.
134 (struct build_id_info): Delete.
135 (write_build_id): Rename from
136 gld${EMULATION_NAME}_write_build_id_section.
137 Update elf_tdata usage. Style, formatting.
138 (setup_build_id): New function.
139 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
141 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
144 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
147 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
150 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
152 2013-02-15 Kai Tietz <ktietz@redhat.com>
154 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
155 (.pdata): Merge .pdata* into .pdata section.
157 2013-02-11 Alan Modra <amodra@gmail.com>
159 * ldlang.c (get_init_priority): Comment typo.
160 (lang_finish): Free link_info.hash and lang_definedness_table.
161 (lang_end): Delete lang_definedness_table comment.
163 2013-02-11 Alan Modra <amodra@gmail.com>
166 * ld.texinfo (-rpath-link): Typo fix.
168 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
170 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
171 rather than userdata->flags.just_syms.
173 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
174 Andrew Jenner <andrew@codesourcery.com>
176 Based on patches from Altera Corporation.
178 * Makefile.am (enios2elf.c): New rule.
179 * Makefile.in: Regenerated.
180 * configure.tgt: Add case for nios2*-*-*.
181 * emulparams/nios2elf.sh: New file.
182 * NEWS: Note Altera Nios II support.
184 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
186 * emultempl/avrelf.em (avr_elf_before_parse): New function.
187 (LDEMUL_BEFORE_PARSE): Define.
189 2013-02-06 Alan Modra <amodra@gmail.com>
192 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
193 * emultempl/alphaelf.em: Revert 2013-02-04.
194 * emultempl/cr16elf.em: Likewise.
195 * emultempl/crxelf.em: Likewise.
196 * emultempl/hppaelf.em: Likewise.
197 * emultempl/ia64elf.em: Likewise.
198 * emultempl/mipself.em: Likewise.
199 * NEWS: Revert 2013-01-21.
201 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
204 * emultempl/alphaelf.em (alpha_after_parse): Call
205 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
206 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
207 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
208 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
209 * emultempl/mipself.em (mips_after_parse): Likewise.
211 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
213 (gld_${EMULATION_NAME}_after_parse): This. Call
214 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
215 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
217 * emultempl/elf32.em (new_dtags_set): New variable.
218 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
220 (gld${EMULATION_NAME}_after_parse): New function.
221 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
222 with gld${EMULATION_NAME}_after_parse.
223 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
224 when setting link_info.new_dtags.
226 2013-01-25 Kai Tietz <ktietz@redhat.com>
228 * deffilep.y (def_image_name): Adjust type of base-address
230 (%union): Add new type bfd_vma as vma.
232 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
233 (def_file_print): Use bfd's fprintf_vma to output base-address.
235 2013-01-24 Nick Clifton <nickc@redhat.com>
237 * NEWS: Mention support for V850E3V5 architecture.
239 2013-01-23 Martin Koegler <martin.koegler@chello.at>
242 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
244 (.debug_frame): Similarly.
246 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
249 * scripttempl/avr.sc (.eeprom): Keep it.
251 2013-01-23 Leif Ekblad <leif@rdos.net>
253 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
254 (eelf64rdos.c): New rule.
255 * emulparams/elf64rdos.sh: New file.
256 * configure.tgt (x86_64-*-rdos*): Use above.
257 * Makefile.in: Regenerate.
259 2013-01-22 Roland McGrath <mcgrathr@google.com>
261 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
262 new_dtags to TRUE for *-*-nacl* targets.
264 2013-01-21 Mike Frysinger <vapier@gentoo.org>
266 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
267 link_info.new_dtags to TRUE for linux/gnu targets.
268 * NEWS: Mention new dtags default.
270 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
272 * Makefile.am (HOSTING_SCRT0): New.
274 * configure.host (HOSTING_SCRT0): New. Used for PIE.
276 * configure.in (HOSTING_SCRT0): New AC_SUBST.
278 * Makefile.in: Regenerated.
279 * configure: Likewise.
281 2013-01-18 Mike Frysinger <vapier@gentoo.org>
283 * NEWS: Mention change in behavior with --enable-new-dtags.
284 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
286 2013-01-14 Leif Ekblad <leif@rdos.net>
287 Alan Modra <amodra@gmail.com>
289 * ld.texinfo (-Tldata-segment): Describe.
290 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
291 * lexsup.c (ld_options): Add -Tldata-segment.
292 (parse_args): Handle OPTION_TLDATA_SEGMENT.
293 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
295 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
297 * deffilep.y: Remove trailing white spaces.
298 * elf-hints-local.h: Likewise.
300 * ldlang.h: Likewise.
301 * ldmisc.c: Likewise.
302 * ldwrite.c: Likewise.
303 * pe-dll.c: Likewise.
304 * emulparams/criself.sh: Likewise.
305 * emulparams/crislinux.sh: Likewise.
306 * emulparams/elf32_tic6x_le.sh: Likewise.
307 * emulparams/elf32bmipn32-defs.sh: Likewise.
308 * emulparams/elf32mb_linux.sh: Likewise.
309 * emulparams/elf32mep.sh: Likewise.
310 * emulparams/elf32microblaze.sh: Likewise.
311 * emulparams/elf32ppc.sh: Likewise.
312 * emulparams/elf64_s390.sh: Likewise.
313 * emulparams/elf64alpha.sh: Likewise.
314 * emulparams/elf_s390.sh: Likewise.
315 * emulparams/elf_x86_64.sh: Likewise.
316 * emulparams/tic80coff.sh: Likewise.
317 * emultempl/aix.em: Likewise.
318 * emultempl/avrelf.em: Likewise.
319 * emultempl/cr16elf.em: Likewise.
320 * emultempl/pe.em: Likewise.
321 * emultempl/pep.em: Likewise.
322 * emultempl/spuelf.em: Likewise.
323 * emultempl/tic6xdsbt.em: Likewise.
325 2013-01-10 Will Newton <will.newton@imgtec.com>
327 * Makefile.am: Add Meta.
328 * Makefile.in: Regenerate.
329 * configure.tgt: Add Meta.
330 * emulparams/elf32metag.sh: New file.
331 * emultempl/metagelf.em: New file.
333 2013-01-09 Alan Modra <amodra@gmail.com>
335 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
336 * emulparams/elf32_x86_64.sh: Likewise.
337 * emulparams/elf_k1om.sh: Likewise.
338 * emulparams/elf_l1om.sh: Likewise.
339 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
340 OTHER_BSS_SECTIONS. Substitute in script.
342 2013-01-08 Leif Ekblad <leif@rdos.net>
344 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
346 2013-01-08 Alan Modra <amodra@gmail.com>
348 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
349 "name" param with a bfd_link_needed_list pointer. Update caller.
350 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
352 2013-01-08 Alan Modra <amodra@gmail.com>
354 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
355 * Makefile.in: Regenerate.
357 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
359 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
362 2013-01-07 Patrice Dumas <pertusus@free.fr>
364 * ld.texinfo: Replace @ with @@ when it is part of the text.
365 Correct ordering of M68HC11 entry.
367 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
369 * configure.tgt: Support ELF files for Sony Playstation 2 (for
371 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
372 Playstation 2 ELF files using MIPS ABI n32.
373 * emulparams/elf32lr5900.sh: Create linker script for Sony
374 Playstation 2 ELF files using MIPS ABI o32.
375 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
378 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
380 * ldver.c (ldversion): Update copyright year to 2013.
382 For older changes see ChangeLog-2012
384 Copyright (C) 2013 Free Software Foundation, Inc.
386 Copying and distribution of this file, with or without modification,
387 are permitted in any medium without royalty provided the copyright
388 notice and this notice are preserved.
394 version-control: never