Enable x32 for x86_64-*-elf*
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
2
3 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
4 x86_64-*-elf*.
5 (targ_extra_libpath): Likewise.
6 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
7
8 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
9
10 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
11 * emulparams/aarch64linux.sh: Ditto.
12 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
13 Replace elf64 with elf${ELFSIZE}.
14 (elf64_aarch64_add_stub_section): Likewise.
15 (build_section_lists): Likewise.
16 (gld${EMULATION_NAME}_after_allocation): Likewise.
17 (gld${EMULATION_NAME}_finish): Likewise.
18 (aarch64_elf_create_output_section_statements): Likewise.
19
20 2013-04-24 Nick Clifton <nickc@redhat.com>
21
22 PR ld/15389
23 * scripttempl/avr.sc: Add .note.gnu.build-id section.
24
25 2013-04-22 Alan Modra <amodra@gmail.com>
26
27 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
28 Check return from ppc64_elf_init_stub_bfd.
29
30 2013-04-15 Nick Clifton <nickc@redhat.com>
31
32 * Makefile.am (ELF_DEPS): Add a dependency upon
33 scripttempl/DWARF.sc.
34 (ELF_GEN_DEPS): Likewise.
35 (emmo.c): Likewise.
36 * Makefile.in: Regenerate.
37
38 * scripttempl/armbpabi.sc: Replace DWARF sections with an
39 inclusion of DWARF.sc.
40 * scripttempl/avr.sc: Likewise.
41 * scripttempl/elf.sc: Likewise.
42 * scripttempl/elf32cr16.sc: Likewise.
43 * scripttempl/elf32crx.sc: Likewise.
44 * scripttempl/elf32msp430.sc: Likewise.
45 * scripttempl/elf32msp430_3.sc: Likewise.
46 * scripttempl/elf32sh-symbian.sc: Likewise.
47 * scripttempl/elf64hppa.sc: Likewise.
48 * scripttempl/elf_chaos.sc: Likewise.
49 * scripttempl/elfd10v.sc: Likewise.
50 * scripttempl/elfd30v.sc: Likewise.
51 * scripttempl/elfi370.sc: Likewise.
52 * scripttempl/elfm68hc11.sc: Likewise.
53 * scripttempl/elfm68hc12.sc: Likewise.
54 * scripttempl/elfxgate.sc: Likewise.
55 * scripttempl/elfxtensa.sc: Likewise.
56 * scripttempl/epiphany_4x4.sc: Likewise.
57 * scripttempl/i386beos.sc: Likewise.
58 * scripttempl/i386go32.sc: Likewise.
59 * scripttempl/ia64vms.sc: Likewise.
60 * scripttempl/ip2k.sc: Likewise.
61 * scripttempl/iq2000.sc: Likewise.
62 * scripttempl/mep.sc: Likewise.
63 * scripttempl/mmo.sc: Likewise.
64 * scripttempl/v850.sc: Likewise.
65 * scripttempl/v850_rh850.sc: Likewise.
66 * scripttempl/xstormy16.sc: Likewise.
67 * scripttempl/DWARF.sc: New.
68
69 2013-04-04 Alan Modra <amodra@gmail.com>
70
71 * ldlang.c (load_symbols): Report "error adding symbols" on
72 bfd_link_add_symbols failure.
73 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
74 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
75 (gld${EMULATION_NAME}_try_needed): Likewise.
76
77 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
78
79 PR ld/13812
80 * scripttempl/avr.sc: Place trampolines before .progmem section.
81
82 2013-03-25 Kai Tietz <ktietz@redhat.com>
83
84 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
85
86 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
87
88 * ld.texinfo (H8/300): Add description of relaxation of
89 mov @(disp:32,ERx) to mov @(disp:16,ERx).
90
91 2013-03-21 Kai Tietz <ktietz@redhat.com>
92
93 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
94 generated C++-symbols as stdcall/fastcall.
95
96 2013-03-18 Alan Modra <amodra@gmail.com>
97
98 * ld.texinfo (--as-needed): Update.
99
100 2013-03-14 Jakub Jelinek <jakub@redhat.com>
101
102 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
103 aarch64linux* emulations.
104
105 2013-03-07 Alan Modra <amodra@gmail.com>
106
107 * ldfile.c (ldfile_open_command_file_1): Return after einfo
108 to avoid warning.
109
110 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
111
112 * configure.host: Add x86_64-*-cygwin* as valid host.
113 * configure.tgt: Add x86_64-*-cygwin* as valid target.
114 * emultempl/pep.em: Handle different requirements for Cygwin in terms
115 of start addresses for executables and DLLs, based on memory model in
116 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
117
118 2013-03-05 Alan Modra <amodra@gmail.com>
119
120 PR ld/15222
121 * ldlang.c (lang_size_sections_1): When given an lma_region align
122 LMA as per VMA only if lma_region is the same as region.
123
124 2013-02-27 Nick Clifton <nickc@redhat.com>
125
126 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
127 Add alignment of .bss section.
128 * scripttempl/elf32msp430_3.sc: Likewise.
129
130 2013-02-26 Nick Clifton <nickc@redhat.com>
131
132 PR ld/15188
133 * ld.texinfo: Fix typos.
134
135 2013-02-21 Alan Modra <amodra@gmail.com>
136
137 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
138 .init_array/.fini_array input sections before .ctors/.dtors input
139 sections.
140 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
141
142 2013-02-21 Alan Modra <amodra@gmail.com>
143
144 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
145 for elf_tdata changes.
146
147 2013-02-21 Alan Modra <amodra@gmail.com>
148
149 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
150 accessor macros.
151
152 2013-02-20 Alan Modra <amodra@gmail.com>
153
154 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
155 * Makefile.in: Regenerate.
156
157 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
158
159 PR ld/15146
160 * plugin.c (plugin_notice): Add null check before dereferencing
161 pointer.
162
163 2013-02-19 Alan Modra <amodra@gmail.com>
164
165 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
166 Replace all info->emit_note_gnu_build_id refs.
167 (id_note_section_size): Rename from
168 gld${EMULATION_NAME}_id_note_section_size.
169 (struct build_id_info): Delete.
170 (write_build_id): Rename from
171 gld${EMULATION_NAME}_write_build_id_section.
172 Update elf_tdata usage. Style, formatting.
173 (setup_build_id): New function.
174 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
175
176 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/15146
179 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
180 the real one.
181
182 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
183
184 PR ld/15141
185 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
186
187 2013-02-15 Kai Tietz <ktietz@redhat.com>
188
189 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
190 (.pdata): Merge .pdata* into .pdata section.
191
192 2013-02-11 Alan Modra <amodra@gmail.com>
193
194 * ldlang.c (get_init_priority): Comment typo.
195 (lang_finish): Free link_info.hash and lang_definedness_table.
196 (lang_end): Delete lang_definedness_table comment.
197
198 2013-02-11 Alan Modra <amodra@gmail.com>
199
200 PR ld/15130
201 * ld.texinfo (-rpath-link): Typo fix.
202
203 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
204
205 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
206 rather than userdata->flags.just_syms.
207
208 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
209 Andrew Jenner <andrew@codesourcery.com>
210
211 Based on patches from Altera Corporation.
212
213 * Makefile.am (enios2elf.c): New rule.
214 * Makefile.in: Regenerated.
215 * configure.tgt: Add case for nios2*-*-*.
216 * emulparams/nios2elf.sh: New file.
217 * NEWS: Note Altera Nios II support.
218
219 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
220
221 * emultempl/avrelf.em (avr_elf_before_parse): New function.
222 (LDEMUL_BEFORE_PARSE): Define.
223
224 2013-02-06 Alan Modra <amodra@gmail.com>
225
226 PR ld/15096
227 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
228 * emultempl/alphaelf.em: Revert 2013-02-04.
229 * emultempl/cr16elf.em: Likewise.
230 * emultempl/crxelf.em: Likewise.
231 * emultempl/hppaelf.em: Likewise.
232 * emultempl/ia64elf.em: Likewise.
233 * emultempl/mipself.em: Likewise.
234 * NEWS: Revert 2013-01-21.
235
236 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
237
238 PR ld/15096
239 * emultempl/alphaelf.em (alpha_after_parse): Call
240 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
241 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
242 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
243 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
244 * emultempl/mipself.em (mips_after_parse): Likewise.
245
246 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
247 to ...
248 (gld_${EMULATION_NAME}_after_parse): This. Call
249 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
250 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
251
252 * emultempl/elf32.em (new_dtags_set): New variable.
253 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
254 here.
255 (gld${EMULATION_NAME}_after_parse): New function.
256 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
257 with gld${EMULATION_NAME}_after_parse.
258 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
259 when setting link_info.new_dtags.
260
261 2013-01-25 Kai Tietz <ktietz@redhat.com>
262
263 * deffilep.y (def_image_name): Adjust type of base-address
264 argument.
265 (%union): Add new type bfd_vma as vma.
266 (VMA): New rule.
267 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
268 (def_file_print): Use bfd's fprintf_vma to output base-address.
269
270 2013-01-24 Nick Clifton <nickc@redhat.com>
271
272 * NEWS: Mention support for V850E3V5 architecture.
273
274 2013-01-23 Martin Koegler <martin.koegler@chello.at>
275
276 PR ld/15041
277 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
278 (.xdata): Similarly.
279 (.debug_frame): Similarly.
280
281 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
282
283 PR ld/15037
284 * scripttempl/avr.sc (.eeprom): Keep it.
285
286 2013-01-23 Leif Ekblad <leif@rdos.net>
287
288 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
289 (eelf64rdos.c): New rule.
290 * emulparams/elf64rdos.sh: New file.
291 * configure.tgt (x86_64-*-rdos*): Use above.
292 * Makefile.in: Regenerate.
293
294 2013-01-22 Roland McGrath <mcgrathr@google.com>
295
296 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
297 new_dtags to TRUE for *-*-nacl* targets.
298
299 2013-01-21 Mike Frysinger <vapier@gentoo.org>
300
301 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
302 link_info.new_dtags to TRUE for linux/gnu targets.
303 * NEWS: Mention new dtags default.
304
305 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
306
307 * Makefile.am (HOSTING_SCRT0): New.
308
309 * configure.host (HOSTING_SCRT0): New. Used for PIE.
310
311 * configure.in (HOSTING_SCRT0): New AC_SUBST.
312
313 * Makefile.in: Regenerated.
314 * configure: Likewise.
315
316 2013-01-18 Mike Frysinger <vapier@gentoo.org>
317
318 * NEWS: Mention change in behavior with --enable-new-dtags.
319 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
320
321 2013-01-14 Leif Ekblad <leif@rdos.net>
322 Alan Modra <amodra@gmail.com>
323
324 * ld.texinfo (-Tldata-segment): Describe.
325 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
326 * lexsup.c (ld_options): Add -Tldata-segment.
327 (parse_args): Handle OPTION_TLDATA_SEGMENT.
328 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
329
330 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
331
332 * deffilep.y: Remove trailing white spaces.
333 * elf-hints-local.h: Likewise.
334 * ldexp.c: Likewise.
335 * ldlang.h: Likewise.
336 * ldmisc.c: Likewise.
337 * ldwrite.c: Likewise.
338 * pe-dll.c: Likewise.
339 * emulparams/criself.sh: Likewise.
340 * emulparams/crislinux.sh: Likewise.
341 * emulparams/elf32_tic6x_le.sh: Likewise.
342 * emulparams/elf32bmipn32-defs.sh: Likewise.
343 * emulparams/elf32mb_linux.sh: Likewise.
344 * emulparams/elf32mep.sh: Likewise.
345 * emulparams/elf32microblaze.sh: Likewise.
346 * emulparams/elf32ppc.sh: Likewise.
347 * emulparams/elf64_s390.sh: Likewise.
348 * emulparams/elf64alpha.sh: Likewise.
349 * emulparams/elf_s390.sh: Likewise.
350 * emulparams/elf_x86_64.sh: Likewise.
351 * emulparams/tic80coff.sh: Likewise.
352 * emultempl/aix.em: Likewise.
353 * emultempl/avrelf.em: Likewise.
354 * emultempl/cr16elf.em: Likewise.
355 * emultempl/pe.em: Likewise.
356 * emultempl/pep.em: Likewise.
357 * emultempl/spuelf.em: Likewise.
358 * emultempl/tic6xdsbt.em: Likewise.
359
360 2013-01-10 Will Newton <will.newton@imgtec.com>
361
362 * Makefile.am: Add Meta.
363 * Makefile.in: Regenerate.
364 * configure.tgt: Add Meta.
365 * emulparams/elf32metag.sh: New file.
366 * emultempl/metagelf.em: New file.
367
368 2013-01-09 Alan Modra <amodra@gmail.com>
369
370 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
371 * emulparams/elf32_x86_64.sh: Likewise.
372 * emulparams/elf_k1om.sh: Likewise.
373 * emulparams/elf_l1om.sh: Likewise.
374 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
375 OTHER_BSS_SECTIONS. Substitute in script.
376
377 2013-01-08 Leif Ekblad <leif@rdos.net>
378
379 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
380
381 2013-01-08 Alan Modra <amodra@gmail.com>
382
383 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
384 "name" param with a bfd_link_needed_list pointer. Update caller.
385 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
386
387 2013-01-08 Alan Modra <amodra@gmail.com>
388
389 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
390 * Makefile.in: Regenerate.
391
392 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
393
394 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
395 compatibility.
396
397 2013-01-07 Patrice Dumas <pertusus@free.fr>
398
399 * ld.texinfo: Replace @ with @@ when it is part of the text.
400 Correct ordering of M68HC11 entry.
401
402 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
403
404 * configure.tgt: Support ELF files for Sony Playstation 2 (for
405 ps2dev and ps2sdk).
406 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
407 Playstation 2 ELF files using MIPS ABI n32.
408 * emulparams/elf32lr5900.sh: Create linker script for Sony
409 Playstation 2 ELF files using MIPS ABI o32.
410 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
411 files.
412
413 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
414
415 * ldver.c (ldversion): Update copyright year to 2013.
416
417 For older changes see ChangeLog-2012
418 \f
419 Copyright (C) 2013 Free Software Foundation, Inc.
420
421 Copying and distribution of this file, with or without modification,
422 are permitted in any medium without royalty provided the copyright
423 notice and this notice are preserved.
424
425 Local Variables:
426 mode: change-log
427 left-margin: 8
428 fill-column: 74
429 version-control: never
430 End:
This page took 0.038918 seconds and 5 git commands to generate.