ld-plugin/lto.exp: Disable ld/12942 test for gcc < 4.7.0.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
27320b85
NC
12013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2
3 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
4 psuedo-relocs.
5
d061dfac
TS
62013-04-28 Thomas Schwinge <thomas@codesourcery.com>
7
8 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
9 * scripttempl/avr.sc: Likewise.
10 * scripttempl/elf.sc: Likewise.
11 * scripttempl/elf32cr16.sc: Likewise.
12 * scripttempl/elf32crx.sc: Likewise.
13 * scripttempl/elf32msp430.sc: Likewise.
14 * scripttempl/elf32msp430_3.sc: Likewise.
15 * scripttempl/elf32sh-symbian.sc: Likewise.
16 * scripttempl/elf64hppa.sc: Likewise.
17 * scripttempl/elf_chaos.sc: Likewise.
18 * scripttempl/elfd10v.sc: Likewise.
19 * scripttempl/elfd30v.sc: Likewise.
20 * scripttempl/elfi370.sc: Likewise.
21 * scripttempl/elfm68hc11.sc: Likewise.
22 * scripttempl/elfm68hc12.sc: Likewise.
23 * scripttempl/elfxgate.sc: Likewise.
24 * scripttempl/elfxtensa.sc: Likewise.
25 * scripttempl/epiphany_4x4.sc: Likewise.
26 * scripttempl/i386beos.sc: Likewise.
27 * scripttempl/i386go32.sc: Likewise.
28 * scripttempl/ia64vms.sc: Likewise.
29 * scripttempl/ip2k.sc: Likewise.
30 * scripttempl/iq2000.sc: Likewise.
31 * scripttempl/mep.sc: Likewise.
32 * scripttempl/mmo.sc: Likewise.
33 * scripttempl/v850.sc: Likewise.
34 * scripttempl/v850_rh850.sc: Likewise.
35 * scripttempl/xstormy16.sc: Likewise.
36
778ee4a6
NC
372013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
38
39 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
40
4706eab9
AM
412013-04-26 Alan Modra <amodra@gmail.com>
42
43 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
44 unresolved_syms_in_shared_libs rather than !executable to
45 determine whether to load DT_NEEDED libraries.
46
49926cd0
AM
472013-04-25 Alan Modra <amodra@gmail.com>
48
49 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
50 (eelf32lppclinux.c): New rule.
51 * Makefile.in: Regenerate.
52 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
53 with corresponding little-endian targets.
54 * emulparams/elf32lppc.sh: Update comment.
55 * emulparams/elf32lppclinux.sh: New.
56
05567e3d
L
572013-04-24 H.J. Lu <hongjiu.lu@intel.com>
58
59 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
60 x86_64-*-elf*.
61 (targ_extra_libpath): Likewise.
62 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
63
4390599b
YZ
642013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
65
66 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
67 * emulparams/aarch64linux.sh: Ditto.
68 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
69 Replace elf64 with elf${ELFSIZE}.
70 (elf64_aarch64_add_stub_section): Likewise.
71 (build_section_lists): Likewise.
72 (gld${EMULATION_NAME}_after_allocation): Likewise.
73 (gld${EMULATION_NAME}_finish): Likewise.
74 (aarch64_elf_create_output_section_statements): Likewise.
75
2cfa18a9
NC
762013-04-24 Nick Clifton <nickc@redhat.com>
77
78 PR ld/15389
79 * scripttempl/avr.sc: Add .note.gnu.build-id section.
80
bfeb4a28
AM
812013-04-22 Alan Modra <amodra@gmail.com>
82
83 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
84 Check return from ppc64_elf_init_stub_bfd.
85
ceb0a680
NC
862013-04-15 Nick Clifton <nickc@redhat.com>
87
cb1238c0
NC
88 * Makefile.am (ELF_DEPS): Add a dependency upon
89 scripttempl/DWARF.sc.
90 (ELF_GEN_DEPS): Likewise.
ec05a26b 91 (emmo.c): Likewise.
cb1238c0
NC
92 * Makefile.in: Regenerate.
93
ceb0a680
NC
94 * scripttempl/armbpabi.sc: Replace DWARF sections with an
95 inclusion of DWARF.sc.
96 * scripttempl/avr.sc: Likewise.
97 * scripttempl/elf.sc: Likewise.
98 * scripttempl/elf32cr16.sc: Likewise.
99 * scripttempl/elf32crx.sc: Likewise.
100 * scripttempl/elf32msp430.sc: Likewise.
101 * scripttempl/elf32msp430_3.sc: Likewise.
102 * scripttempl/elf32sh-symbian.sc: Likewise.
103 * scripttempl/elf64hppa.sc: Likewise.
104 * scripttempl/elf_chaos.sc: Likewise.
105 * scripttempl/elfd10v.sc: Likewise.
106 * scripttempl/elfd30v.sc: Likewise.
107 * scripttempl/elfi370.sc: Likewise.
108 * scripttempl/elfm68hc11.sc: Likewise.
109 * scripttempl/elfm68hc12.sc: Likewise.
110 * scripttempl/elfxgate.sc: Likewise.
111 * scripttempl/elfxtensa.sc: Likewise.
112 * scripttempl/epiphany_4x4.sc: Likewise.
113 * scripttempl/i386beos.sc: Likewise.
114 * scripttempl/i386go32.sc: Likewise.
115 * scripttempl/ia64vms.sc: Likewise.
116 * scripttempl/ip2k.sc: Likewise.
117 * scripttempl/iq2000.sc: Likewise.
118 * scripttempl/mep.sc: Likewise.
119 * scripttempl/mmo.sc: Likewise.
120 * scripttempl/v850.sc: Likewise.
121 * scripttempl/v850_rh850.sc: Likewise.
122 * scripttempl/xstormy16.sc: Likewise.
123 * scripttempl/DWARF.sc: New.
124
8ff4c1f3
AM
1252013-04-04 Alan Modra <amodra@gmail.com>
126
127 * ldlang.c (load_symbols): Report "error adding symbols" on
128 bfd_link_add_symbols failure.
129 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
130 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
131 (gld${EMULATION_NAME}_try_needed): Likewise.
132
861319c9
NC
1332013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
134
135 PR ld/13812
136 * scripttempl/avr.sc: Place trampolines before .progmem section.
137
676ee43b
KT
1382013-03-25 Kai Tietz <ktietz@redhat.com>
139
140 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
141
81f5558e
NC
1422013-03-21 Michael Schewe <michael.schewe@gmx.net>
143
144 * ld.texinfo (H8/300): Add description of relaxation of
145 mov @(disp:32,ERx) to mov @(disp:16,ERx).
146
31fd86f1
KT
1472013-03-21 Kai Tietz <ktietz@redhat.com>
148
149 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
150 generated C++-symbols as stdcall/fastcall.
151
ffa9430d
AM
1522013-03-18 Alan Modra <amodra@gmail.com>
153
154 * ld.texinfo (--as-needed): Update.
155
6f2ef5f5
JJ
1562013-03-14 Jakub Jelinek <jakub@redhat.com>
157
158 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
159 aarch64linux* emulations.
160
3ab6909a
AM
1612013-03-07 Alan Modra <amodra@gmail.com>
162
163 * ldfile.c (ldfile_open_command_file_1): Return after einfo
164 to avoid warning.
165
a07ee50e
CV
1662013-03-05 Corinna Vinschen <vinschen@redhat.com>
167
168 * configure.host: Add x86_64-*-cygwin* as valid host.
169 * configure.tgt: Add x86_64-*-cygwin* as valid target.
170 * emultempl/pep.em: Handle different requirements for Cygwin in terms
171 of start addresses for executables and DLLs, based on memory model in
172 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
173
13762d2e
AM
1742013-03-05 Alan Modra <amodra@gmail.com>
175
176 PR ld/15222
177 * ldlang.c (lang_size_sections_1): When given an lma_region align
178 LMA as per VMA only if lma_region is the same as region.
179
727f7031
NC
1802013-02-27 Nick Clifton <nickc@redhat.com>
181
182 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
183 Add alignment of .bss section.
184 * scripttempl/elf32msp430_3.sc: Likewise.
185
56dd11f0
NC
1862013-02-26 Nick Clifton <nickc@redhat.com>
187
188 PR ld/15188
189 * ld.texinfo: Fix typos.
190
7c00cf68
AM
1912013-02-21 Alan Modra <amodra@gmail.com>
192
193 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
194 .init_array/.fini_array input sections before .ctors/.dtors input
195 sections.
196 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
197
c0355132
AM
1982013-02-21 Alan Modra <amodra@gmail.com>
199
200 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
201 for elf_tdata changes.
202
12bd6957
AM
2032013-02-21 Alan Modra <amodra@gmail.com>
204
205 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
206 accessor macros.
207
a582ed93
AM
2082013-02-20 Alan Modra <amodra@gmail.com>
209
210 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
211 * Makefile.in: Regenerate.
212
46fed7f7
SL
2132013-02-19 Sandra Loosemore <sandra@codesourcery.com>
214
215 PR ld/15146
216 * plugin.c (plugin_notice): Add null check before dereferencing
217 pointer.
218
30e8ee25
AM
2192013-02-19 Alan Modra <amodra@gmail.com>
220
221 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
222 Replace all info->emit_note_gnu_build_id refs.
223 (id_note_section_size): Rename from
224 gld${EMULATION_NAME}_id_note_section_size.
225 (struct build_id_info): Delete.
226 (write_build_id): Rename from
227 gld${EMULATION_NAME}_write_build_id_section.
228 Update elf_tdata usage. Style, formatting.
229 (setup_build_id): New function.
230 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
231
3d5bef4c
L
2322013-02-16 H.J. Lu <hongjiu.lu@intel.com>
233
234 PR ld/15146
235 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
236 the real one.
237
4a2b04a7
L
2382013-02-16 H.J. Lu <hongjiu.lu@intel.com>
239
240 PR ld/15141
241 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
242
b138e9bf
KT
2432013-02-15 Kai Tietz <ktietz@redhat.com>
244
245 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
246 (.pdata): Merge .pdata* into .pdata section.
247
61087d8c
AM
2482013-02-11 Alan Modra <amodra@gmail.com>
249
250 * ldlang.c (get_init_priority): Comment typo.
251 (lang_finish): Free link_info.hash and lang_definedness_table.
252 (lang_end): Delete lang_definedness_table comment.
253
a1b8d843
AM
2542013-02-11 Alan Modra <amodra@gmail.com>
255
256 PR ld/15130
257 * ld.texinfo (-rpath-link): Typo fix.
258
20855e86
NC
2592013-02-08 Markos Chandras <markos.chandras@imgtec.com>
260
261 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
262 rather than userdata->flags.just_syms.
263
36591ba1 2642013-02-06 Sandra Loosemore <sandra@codesourcery.com>
4a2b04a7 265 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
266
267 Based on patches from Altera Corporation.
268
269 * Makefile.am (enios2elf.c): New rule.
270 * Makefile.in: Regenerated.
271 * configure.tgt: Add case for nios2*-*-*.
272 * emulparams/nios2elf.sh: New file.
273 * NEWS: Note Altera Nios II support.
274
4d4ef6fd
AM
2752013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
276
277 * emultempl/avrelf.em (avr_elf_before_parse): New function.
278 (LDEMUL_BEFORE_PARSE): Define.
279
eeaa4577
AM
2802013-02-06 Alan Modra <amodra@gmail.com>
281
282 PR ld/15096
283 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
284 * emultempl/alphaelf.em: Revert 2013-02-04.
285 * emultempl/cr16elf.em: Likewise.
286 * emultempl/crxelf.em: Likewise.
287 * emultempl/hppaelf.em: Likewise.
288 * emultempl/ia64elf.em: Likewise.
289 * emultempl/mipself.em: Likewise.
290 * NEWS: Revert 2013-01-21.
291
663fa543
L
2922013-02-04 H.J. Lu <hongjiu.lu@intel.com>
293
294 PR ld/15096
295 * emultempl/alphaelf.em (alpha_after_parse): Call
296 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
297 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
298 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
299 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
300 * emultempl/mipself.em (mips_after_parse): Likewise.
301
302 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
303 to ...
304 (gld_${EMULATION_NAME}_after_parse): This. Call
305 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
306 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
307
308 * emultempl/elf32.em (new_dtags_set): New variable.
309 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
310 here.
311 (gld${EMULATION_NAME}_after_parse): New function.
312 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
313 with gld${EMULATION_NAME}_after_parse.
314 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
315 when setting link_info.new_dtags.
316
0a4e6638
KT
3172013-01-25 Kai Tietz <ktietz@redhat.com>
318
319 * deffilep.y (def_image_name): Adjust type of base-address
320 argument.
321 (%union): Add new type bfd_vma as vma.
322 (VMA): New rule.
323 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
324 (def_file_print): Use bfd's fprintf_vma to output base-address.
325
78c8d46c
NC
3262013-01-24 Nick Clifton <nickc@redhat.com>
327
328 * NEWS: Mention support for V850E3V5 architecture.
329
f5c66ab0
NC
3302013-01-23 Martin Koegler <martin.koegler@chello.at>
331
332 PR ld/15041
333 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
334 (.xdata): Similarly.
335 (.debug_frame): Similarly.
336
b176ded1
NC
3372013-01-23 Georg-Johann Lay <avr@gjlay.de>
338
339 PR ld/15037
340 * scripttempl/avr.sc (.eeprom): Keep it.
341
a6dea726
AM
3422013-01-23 Leif Ekblad <leif@rdos.net>
343
344 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
345 (eelf64rdos.c): New rule.
346 * emulparams/elf64rdos.sh: New file.
347 * configure.tgt (x86_64-*-rdos*): Use above.
348 * Makefile.in: Regenerate.
349
f0fe23c2
RM
3502013-01-22 Roland McGrath <mcgrathr@google.com>
351
352 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
353 new_dtags to TRUE for *-*-nacl* targets.
354
3552013-01-21 Mike Frysinger <vapier@gentoo.org>
822b8bf4
MF
356
357 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
358 link_info.new_dtags to TRUE for linux/gnu targets.
359 * NEWS: Mention new dtags default.
360
6738cadc
L
3612013-01-19 H.J. Lu <hongjiu.lu@intel.com>
362
363 * Makefile.am (HOSTING_SCRT0): New.
364
365 * configure.host (HOSTING_SCRT0): New. Used for PIE.
366
367 * configure.in (HOSTING_SCRT0): New AC_SUBST.
368
369 * Makefile.in: Regenerated.
370 * configure: Likewise.
371
b1b00fcc
MF
3722013-01-18 Mike Frysinger <vapier@gentoo.org>
373
374 * NEWS: Mention change in behavior with --enable-new-dtags.
375 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
376
0d705e9f
AM
3772013-01-14 Leif Ekblad <leif@rdos.net>
378 Alan Modra <amodra@gmail.com>
379
380 * ld.texinfo (-Tldata-segment): Describe.
381 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
382 * lexsup.c (ld_options): Add -Tldata-segment.
383 (parse_args): Handle OPTION_TLDATA_SEGMENT.
384 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
385
e4492aa0
L
3862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
387
388 * deffilep.y: Remove trailing white spaces.
389 * elf-hints-local.h: Likewise.
390 * ldexp.c: Likewise.
391 * ldlang.h: Likewise.
392 * ldmisc.c: Likewise.
393 * ldwrite.c: Likewise.
394 * pe-dll.c: Likewise.
395 * emulparams/criself.sh: Likewise.
396 * emulparams/crislinux.sh: Likewise.
397 * emulparams/elf32_tic6x_le.sh: Likewise.
398 * emulparams/elf32bmipn32-defs.sh: Likewise.
399 * emulparams/elf32mb_linux.sh: Likewise.
400 * emulparams/elf32mep.sh: Likewise.
401 * emulparams/elf32microblaze.sh: Likewise.
402 * emulparams/elf32ppc.sh: Likewise.
403 * emulparams/elf64_s390.sh: Likewise.
404 * emulparams/elf64alpha.sh: Likewise.
405 * emulparams/elf_s390.sh: Likewise.
406 * emulparams/elf_x86_64.sh: Likewise.
407 * emulparams/tic80coff.sh: Likewise.
408 * emultempl/aix.em: Likewise.
409 * emultempl/avrelf.em: Likewise.
410 * emultempl/cr16elf.em: Likewise.
411 * emultempl/pe.em: Likewise.
412 * emultempl/pep.em: Likewise.
413 * emultempl/spuelf.em: Likewise.
414 * emultempl/tic6xdsbt.em: Likewise.
415
a3c62988
NC
4162013-01-10 Will Newton <will.newton@imgtec.com>
417
418 * Makefile.am: Add Meta.
419 * Makefile.in: Regenerate.
420 * configure.tgt: Add Meta.
421 * emulparams/elf32metag.sh: New file.
422 * emultempl/metagelf.em: New file.
423
134960cc
AM
4242013-01-09 Alan Modra <amodra@gmail.com>
425
426 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
427 * emulparams/elf32_x86_64.sh: Likewise.
428 * emulparams/elf_k1om.sh: Likewise.
429 * emulparams/elf_l1om.sh: Likewise.
430 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
431 OTHER_BSS_SECTIONS. Substitute in script.
432
34d56033
AM
4332013-01-08 Leif Ekblad <leif@rdos.net>
434
435 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
436
d5c8b1f8
AM
4372013-01-08 Alan Modra <amodra@gmail.com>
438
439 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
98e38512 440 "name" param with a bfd_link_needed_list pointer. Update caller.
d5c8b1f8
AM
441 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
442
cc382d46
AM
4432013-01-08 Alan Modra <amodra@gmail.com>
444
445 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
446 * Makefile.in: Regenerate.
447
add24320
L
4482013-01-07 H.J. Lu <hongjiu.lu@intel.com>
449
450 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
451 compatibility.
452
7ca01ed9
NC
4532013-01-07 Patrice Dumas <pertusus@free.fr>
454
455 * ld.texinfo: Replace @ with @@ when it is part of the text.
456 Correct ordering of M68HC11 entry.
457
e407c74b
NC
4582013-01-04 Juergen Urban <JuergenUrban@gmx.de>
459
460 * configure.tgt: Support ELF files for Sony Playstation 2 (for
461 ps2dev and ps2sdk).
462 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
463 Playstation 2 ELF files using MIPS ABI n32.
464 * emulparams/elf32lr5900.sh: Create linker script for Sony
465 Playstation 2 ELF files using MIPS ABI o32.
466 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
467 files.
468
62658407
L
4692013-01-02 H.J. Lu <hongjiu.lu@intel.com>
470
471 * ldver.c (ldversion): Update copyright year to 2013.
472
4e5f3f9d 473For older changes see ChangeLog-2012
252b5132 474\f
4e5f3f9d 475Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
476
477Copying and distribution of this file, with or without modification,
478are permitted in any medium without royalty provided the copyright
479notice and this notice are preserved.
480
252b5132
RH
481Local Variables:
482mode: change-log
483left-margin: 8
484fill-column: 74
485version-control: never
486End:
This page took 0.741988 seconds and 4 git commands to generate.