1 2013-02-27 Nick Clifton <nickc@redhat.com>
3 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
4 Add alignment of .bss section.
5 * scripttempl/elf32msp430_3.sc: Likewise.
7 2013-02-26 Nick Clifton <nickc@redhat.com>
10 * ld.texinfo: Fix typos.
12 2013-02-21 Alan Modra <amodra@gmail.com>
14 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
15 .init_array/.fini_array input sections before .ctors/.dtors input
17 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
19 2013-02-21 Alan Modra <amodra@gmail.com>
21 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
22 for elf_tdata changes.
24 2013-02-21 Alan Modra <amodra@gmail.com>
26 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
29 2013-02-20 Alan Modra <amodra@gmail.com>
31 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
32 * Makefile.in: Regenerate.
34 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
37 * plugin.c (plugin_notice): Add null check before dereferencing
40 2013-02-19 Alan Modra <amodra@gmail.com>
42 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
43 Replace all info->emit_note_gnu_build_id refs.
44 (id_note_section_size): Rename from
45 gld${EMULATION_NAME}_id_note_section_size.
46 (struct build_id_info): Delete.
47 (write_build_id): Rename from
48 gld${EMULATION_NAME}_write_build_id_section.
49 Update elf_tdata usage. Style, formatting.
50 (setup_build_id): New function.
51 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
53 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
56 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
59 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
62 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
64 2013-02-15 Kai Tietz <ktietz@redhat.com>
66 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
67 (.pdata): Merge .pdata* into .pdata section.
69 2013-02-11 Alan Modra <amodra@gmail.com>
71 * ldlang.c (get_init_priority): Comment typo.
72 (lang_finish): Free link_info.hash and lang_definedness_table.
73 (lang_end): Delete lang_definedness_table comment.
75 2013-02-11 Alan Modra <amodra@gmail.com>
78 * ld.texinfo (-rpath-link): Typo fix.
80 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
82 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
83 rather than userdata->flags.just_syms.
85 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
86 Andrew Jenner <andrew@codesourcery.com>
88 Based on patches from Altera Corporation.
90 * Makefile.am (enios2elf.c): New rule.
91 * Makefile.in: Regenerated.
92 * configure.tgt: Add case for nios2*-*-*.
93 * emulparams/nios2elf.sh: New file.
94 * NEWS: Note Altera Nios II support.
96 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
98 * emultempl/avrelf.em (avr_elf_before_parse): New function.
99 (LDEMUL_BEFORE_PARSE): Define.
101 2013-02-06 Alan Modra <amodra@gmail.com>
104 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
105 * emultempl/alphaelf.em: Revert 2013-02-04.
106 * emultempl/cr16elf.em: Likewise.
107 * emultempl/crxelf.em: Likewise.
108 * emultempl/hppaelf.em: Likewise.
109 * emultempl/ia64elf.em: Likewise.
110 * emultempl/mipself.em: Likewise.
111 * NEWS: Revert 2013-01-21.
113 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
116 * emultempl/alphaelf.em (alpha_after_parse): Call
117 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
118 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
119 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
120 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
121 * emultempl/mipself.em (mips_after_parse): Likewise.
123 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
125 (gld_${EMULATION_NAME}_after_parse): This. Call
126 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
127 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
129 * emultempl/elf32.em (new_dtags_set): New variable.
130 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
132 (gld${EMULATION_NAME}_after_parse): New function.
133 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
134 with gld${EMULATION_NAME}_after_parse.
135 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
136 when setting link_info.new_dtags.
138 2013-01-25 Kai Tietz <ktietz@redhat.com>
140 * deffilep.y (def_image_name): Adjust type of base-address
142 (%union): Add new type bfd_vma as vma.
144 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
145 (def_file_print): Use bfd's fprintf_vma to output base-address.
147 2013-01-24 Nick Clifton <nickc@redhat.com>
149 * NEWS: Mention support for V850E3V5 architecture.
151 2013-01-23 Martin Koegler <martin.koegler@chello.at>
154 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
156 (.debug_frame): Similarly.
158 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
161 * scripttempl/avr.sc (.eeprom): Keep it.
163 2013-01-23 Leif Ekblad <leif@rdos.net>
165 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
166 (eelf64rdos.c): New rule.
167 * emulparams/elf64rdos.sh: New file.
168 * configure.tgt (x86_64-*-rdos*): Use above.
169 * Makefile.in: Regenerate.
171 2013-01-22 Roland McGrath <mcgrathr@google.com>
173 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
174 new_dtags to TRUE for *-*-nacl* targets.
176 2013-01-21 Mike Frysinger <vapier@gentoo.org>
178 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
179 link_info.new_dtags to TRUE for linux/gnu targets.
180 * NEWS: Mention new dtags default.
182 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
184 * Makefile.am (HOSTING_SCRT0): New.
186 * configure.host (HOSTING_SCRT0): New. Used for PIE.
188 * configure.in (HOSTING_SCRT0): New AC_SUBST.
190 * Makefile.in: Regenerated.
191 * configure: Likewise.
193 2013-01-18 Mike Frysinger <vapier@gentoo.org>
195 * NEWS: Mention change in behavior with --enable-new-dtags.
196 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
198 2013-01-14 Leif Ekblad <leif@rdos.net>
199 Alan Modra <amodra@gmail.com>
201 * ld.texinfo (-Tldata-segment): Describe.
202 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
203 * lexsup.c (ld_options): Add -Tldata-segment.
204 (parse_args): Handle OPTION_TLDATA_SEGMENT.
205 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
207 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
209 * deffilep.y: Remove trailing white spaces.
210 * elf-hints-local.h: Likewise.
212 * ldlang.h: Likewise.
213 * ldmisc.c: Likewise.
214 * ldwrite.c: Likewise.
215 * pe-dll.c: Likewise.
216 * emulparams/criself.sh: Likewise.
217 * emulparams/crislinux.sh: Likewise.
218 * emulparams/elf32_tic6x_le.sh: Likewise.
219 * emulparams/elf32bmipn32-defs.sh: Likewise.
220 * emulparams/elf32mb_linux.sh: Likewise.
221 * emulparams/elf32mep.sh: Likewise.
222 * emulparams/elf32microblaze.sh: Likewise.
223 * emulparams/elf32ppc.sh: Likewise.
224 * emulparams/elf64_s390.sh: Likewise.
225 * emulparams/elf64alpha.sh: Likewise.
226 * emulparams/elf_s390.sh: Likewise.
227 * emulparams/elf_x86_64.sh: Likewise.
228 * emulparams/tic80coff.sh: Likewise.
229 * emultempl/aix.em: Likewise.
230 * emultempl/avrelf.em: Likewise.
231 * emultempl/cr16elf.em: Likewise.
232 * emultempl/pe.em: Likewise.
233 * emultempl/pep.em: Likewise.
234 * emultempl/spuelf.em: Likewise.
235 * emultempl/tic6xdsbt.em: Likewise.
237 2013-01-10 Will Newton <will.newton@imgtec.com>
239 * Makefile.am: Add Meta.
240 * Makefile.in: Regenerate.
241 * configure.tgt: Add Meta.
242 * emulparams/elf32metag.sh: New file.
243 * emultempl/metagelf.em: New file.
245 2013-01-09 Alan Modra <amodra@gmail.com>
247 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
248 * emulparams/elf32_x86_64.sh: Likewise.
249 * emulparams/elf_k1om.sh: Likewise.
250 * emulparams/elf_l1om.sh: Likewise.
251 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
252 OTHER_BSS_SECTIONS. Substitute in script.
254 2013-01-08 Leif Ekblad <leif@rdos.net>
256 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
258 2013-01-08 Alan Modra <amodra@gmail.com>
260 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
261 "name" param with a bfd_link_needed_list pointer. Update caller.
262 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
264 2013-01-08 Alan Modra <amodra@gmail.com>
266 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
267 * Makefile.in: Regenerate.
269 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
271 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
274 2013-01-07 Patrice Dumas <pertusus@free.fr>
276 * ld.texinfo: Replace @ with @@ when it is part of the text.
277 Correct ordering of M68HC11 entry.
279 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
281 * configure.tgt: Support ELF files for Sony Playstation 2 (for
283 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
284 Playstation 2 ELF files using MIPS ABI n32.
285 * emulparams/elf32lr5900.sh: Create linker script for Sony
286 Playstation 2 ELF files using MIPS ABI o32.
287 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
290 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
292 * ldver.c (ldversion): Update copyright year to 2013.
294 For older changes see ChangeLog-2012
296 Copyright (C) 2013 Free Software Foundation, Inc.
298 Copying and distribution of this file, with or without modification,
299 are permitted in any medium without royalty provided the copyright
300 notice and this notice are preserved.
306 version-control: never