1 2013-04-04 Alan Modra <amodra@gmail.com>
3 * ldlang.c (load_symbols): Report "error adding symbols" on
4 bfd_link_add_symbols failure.
5 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
6 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
7 (gld${EMULATION_NAME}_try_needed): Likewise.
9 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
12 * scripttempl/avr.sc: Place trampolines before .progmem section.
14 2013-03-25 Kai Tietz <ktietz@redhat.com>
16 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
18 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
20 * ld.texinfo (H8/300): Add description of relaxation of
21 mov @(disp:32,ERx) to mov @(disp:16,ERx).
23 2013-03-21 Kai Tietz <ktietz@redhat.com>
25 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
26 generated C++-symbols as stdcall/fastcall.
28 2013-03-18 Alan Modra <amodra@gmail.com>
30 * ld.texinfo (--as-needed): Update.
32 2013-03-14 Jakub Jelinek <jakub@redhat.com>
34 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
35 aarch64linux* emulations.
37 2013-03-07 Alan Modra <amodra@gmail.com>
39 * ldfile.c (ldfile_open_command_file_1): Return after einfo
42 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
44 * configure.host: Add x86_64-*-cygwin* as valid host.
45 * configure.tgt: Add x86_64-*-cygwin* as valid target.
46 * emultempl/pep.em: Handle different requirements for Cygwin in terms
47 of start addresses for executables and DLLs, based on memory model in
48 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
50 2013-03-05 Alan Modra <amodra@gmail.com>
53 * ldlang.c (lang_size_sections_1): When given an lma_region align
54 LMA as per VMA only if lma_region is the same as region.
56 2013-02-27 Nick Clifton <nickc@redhat.com>
58 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
59 Add alignment of .bss section.
60 * scripttempl/elf32msp430_3.sc: Likewise.
62 2013-02-26 Nick Clifton <nickc@redhat.com>
65 * ld.texinfo: Fix typos.
67 2013-02-21 Alan Modra <amodra@gmail.com>
69 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
70 .init_array/.fini_array input sections before .ctors/.dtors input
72 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
74 2013-02-21 Alan Modra <amodra@gmail.com>
76 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
77 for elf_tdata changes.
79 2013-02-21 Alan Modra <amodra@gmail.com>
81 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
84 2013-02-20 Alan Modra <amodra@gmail.com>
86 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
87 * Makefile.in: Regenerate.
89 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
92 * plugin.c (plugin_notice): Add null check before dereferencing
95 2013-02-19 Alan Modra <amodra@gmail.com>
97 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
98 Replace all info->emit_note_gnu_build_id refs.
99 (id_note_section_size): Rename from
100 gld${EMULATION_NAME}_id_note_section_size.
101 (struct build_id_info): Delete.
102 (write_build_id): Rename from
103 gld${EMULATION_NAME}_write_build_id_section.
104 Update elf_tdata usage. Style, formatting.
105 (setup_build_id): New function.
106 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
108 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
111 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
114 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
117 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
119 2013-02-15 Kai Tietz <ktietz@redhat.com>
121 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
122 (.pdata): Merge .pdata* into .pdata section.
124 2013-02-11 Alan Modra <amodra@gmail.com>
126 * ldlang.c (get_init_priority): Comment typo.
127 (lang_finish): Free link_info.hash and lang_definedness_table.
128 (lang_end): Delete lang_definedness_table comment.
130 2013-02-11 Alan Modra <amodra@gmail.com>
133 * ld.texinfo (-rpath-link): Typo fix.
135 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
137 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
138 rather than userdata->flags.just_syms.
140 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
141 Andrew Jenner <andrew@codesourcery.com>
143 Based on patches from Altera Corporation.
145 * Makefile.am (enios2elf.c): New rule.
146 * Makefile.in: Regenerated.
147 * configure.tgt: Add case for nios2*-*-*.
148 * emulparams/nios2elf.sh: New file.
149 * NEWS: Note Altera Nios II support.
151 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
153 * emultempl/avrelf.em (avr_elf_before_parse): New function.
154 (LDEMUL_BEFORE_PARSE): Define.
156 2013-02-06 Alan Modra <amodra@gmail.com>
159 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
160 * emultempl/alphaelf.em: Revert 2013-02-04.
161 * emultempl/cr16elf.em: Likewise.
162 * emultempl/crxelf.em: Likewise.
163 * emultempl/hppaelf.em: Likewise.
164 * emultempl/ia64elf.em: Likewise.
165 * emultempl/mipself.em: Likewise.
166 * NEWS: Revert 2013-01-21.
168 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
171 * emultempl/alphaelf.em (alpha_after_parse): Call
172 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
173 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
174 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
175 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
176 * emultempl/mipself.em (mips_after_parse): Likewise.
178 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
180 (gld_${EMULATION_NAME}_after_parse): This. Call
181 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
182 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
184 * emultempl/elf32.em (new_dtags_set): New variable.
185 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
187 (gld${EMULATION_NAME}_after_parse): New function.
188 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
189 with gld${EMULATION_NAME}_after_parse.
190 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
191 when setting link_info.new_dtags.
193 2013-01-25 Kai Tietz <ktietz@redhat.com>
195 * deffilep.y (def_image_name): Adjust type of base-address
197 (%union): Add new type bfd_vma as vma.
199 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
200 (def_file_print): Use bfd's fprintf_vma to output base-address.
202 2013-01-24 Nick Clifton <nickc@redhat.com>
204 * NEWS: Mention support for V850E3V5 architecture.
206 2013-01-23 Martin Koegler <martin.koegler@chello.at>
209 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
211 (.debug_frame): Similarly.
213 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
216 * scripttempl/avr.sc (.eeprom): Keep it.
218 2013-01-23 Leif Ekblad <leif@rdos.net>
220 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
221 (eelf64rdos.c): New rule.
222 * emulparams/elf64rdos.sh: New file.
223 * configure.tgt (x86_64-*-rdos*): Use above.
224 * Makefile.in: Regenerate.
226 2013-01-22 Roland McGrath <mcgrathr@google.com>
228 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
229 new_dtags to TRUE for *-*-nacl* targets.
231 2013-01-21 Mike Frysinger <vapier@gentoo.org>
233 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
234 link_info.new_dtags to TRUE for linux/gnu targets.
235 * NEWS: Mention new dtags default.
237 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
239 * Makefile.am (HOSTING_SCRT0): New.
241 * configure.host (HOSTING_SCRT0): New. Used for PIE.
243 * configure.in (HOSTING_SCRT0): New AC_SUBST.
245 * Makefile.in: Regenerated.
246 * configure: Likewise.
248 2013-01-18 Mike Frysinger <vapier@gentoo.org>
250 * NEWS: Mention change in behavior with --enable-new-dtags.
251 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
253 2013-01-14 Leif Ekblad <leif@rdos.net>
254 Alan Modra <amodra@gmail.com>
256 * ld.texinfo (-Tldata-segment): Describe.
257 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
258 * lexsup.c (ld_options): Add -Tldata-segment.
259 (parse_args): Handle OPTION_TLDATA_SEGMENT.
260 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
262 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
264 * deffilep.y: Remove trailing white spaces.
265 * elf-hints-local.h: Likewise.
267 * ldlang.h: Likewise.
268 * ldmisc.c: Likewise.
269 * ldwrite.c: Likewise.
270 * pe-dll.c: Likewise.
271 * emulparams/criself.sh: Likewise.
272 * emulparams/crislinux.sh: Likewise.
273 * emulparams/elf32_tic6x_le.sh: Likewise.
274 * emulparams/elf32bmipn32-defs.sh: Likewise.
275 * emulparams/elf32mb_linux.sh: Likewise.
276 * emulparams/elf32mep.sh: Likewise.
277 * emulparams/elf32microblaze.sh: Likewise.
278 * emulparams/elf32ppc.sh: Likewise.
279 * emulparams/elf64_s390.sh: Likewise.
280 * emulparams/elf64alpha.sh: Likewise.
281 * emulparams/elf_s390.sh: Likewise.
282 * emulparams/elf_x86_64.sh: Likewise.
283 * emulparams/tic80coff.sh: Likewise.
284 * emultempl/aix.em: Likewise.
285 * emultempl/avrelf.em: Likewise.
286 * emultempl/cr16elf.em: Likewise.
287 * emultempl/pe.em: Likewise.
288 * emultempl/pep.em: Likewise.
289 * emultempl/spuelf.em: Likewise.
290 * emultempl/tic6xdsbt.em: Likewise.
292 2013-01-10 Will Newton <will.newton@imgtec.com>
294 * Makefile.am: Add Meta.
295 * Makefile.in: Regenerate.
296 * configure.tgt: Add Meta.
297 * emulparams/elf32metag.sh: New file.
298 * emultempl/metagelf.em: New file.
300 2013-01-09 Alan Modra <amodra@gmail.com>
302 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
303 * emulparams/elf32_x86_64.sh: Likewise.
304 * emulparams/elf_k1om.sh: Likewise.
305 * emulparams/elf_l1om.sh: Likewise.
306 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
307 OTHER_BSS_SECTIONS. Substitute in script.
309 2013-01-08 Leif Ekblad <leif@rdos.net>
311 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
313 2013-01-08 Alan Modra <amodra@gmail.com>
315 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
316 "name" param with a bfd_link_needed_list pointer. Update caller.
317 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
319 2013-01-08 Alan Modra <amodra@gmail.com>
321 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
322 * Makefile.in: Regenerate.
324 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
326 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
329 2013-01-07 Patrice Dumas <pertusus@free.fr>
331 * ld.texinfo: Replace @ with @@ when it is part of the text.
332 Correct ordering of M68HC11 entry.
334 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
336 * configure.tgt: Support ELF files for Sony Playstation 2 (for
338 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
339 Playstation 2 ELF files using MIPS ABI n32.
340 * emulparams/elf32lr5900.sh: Create linker script for Sony
341 Playstation 2 ELF files using MIPS ABI o32.
342 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
345 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
347 * ldver.c (ldversion): Update copyright year to 2013.
349 For older changes see ChangeLog-2012
351 Copyright (C) 2013 Free Software Foundation, Inc.
353 Copying and distribution of this file, with or without modification,
354 are permitted in any medium without royalty provided the copyright
355 notice and this notice are preserved.
361 version-control: never