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