gas/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
ceb0a680
NC
12013-04-15 Nick Clifton <nickc@redhat.com>
2
3 * scripttempl/armbpabi.sc: Replace DWARF sections with an
4 inclusion of DWARF.sc.
5 * scripttempl/avr.sc: Likewise.
6 * scripttempl/elf.sc: Likewise.
7 * scripttempl/elf32cr16.sc: Likewise.
8 * scripttempl/elf32crx.sc: Likewise.
9 * scripttempl/elf32msp430.sc: Likewise.
10 * scripttempl/elf32msp430_3.sc: Likewise.
11 * scripttempl/elf32sh-symbian.sc: Likewise.
12 * scripttempl/elf64hppa.sc: Likewise.
13 * scripttempl/elf_chaos.sc: Likewise.
14 * scripttempl/elfd10v.sc: Likewise.
15 * scripttempl/elfd30v.sc: Likewise.
16 * scripttempl/elfi370.sc: Likewise.
17 * scripttempl/elfm68hc11.sc: Likewise.
18 * scripttempl/elfm68hc12.sc: Likewise.
19 * scripttempl/elfxgate.sc: Likewise.
20 * scripttempl/elfxtensa.sc: Likewise.
21 * scripttempl/epiphany_4x4.sc: Likewise.
22 * scripttempl/i386beos.sc: Likewise.
23 * scripttempl/i386go32.sc: Likewise.
24 * scripttempl/ia64vms.sc: Likewise.
25 * scripttempl/ip2k.sc: Likewise.
26 * scripttempl/iq2000.sc: Likewise.
27 * scripttempl/mep.sc: Likewise.
28 * scripttempl/mmo.sc: Likewise.
29 * scripttempl/v850.sc: Likewise.
30 * scripttempl/v850_rh850.sc: Likewise.
31 * scripttempl/xstormy16.sc: Likewise.
32 * scripttempl/DWARF.sc: New.
33
8ff4c1f3
AM
342013-04-04 Alan Modra <amodra@gmail.com>
35
36 * ldlang.c (load_symbols): Report "error adding symbols" on
37 bfd_link_add_symbols failure.
38 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
39 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
40 (gld${EMULATION_NAME}_try_needed): Likewise.
41
861319c9
NC
422013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
43
44 PR ld/13812
45 * scripttempl/avr.sc: Place trampolines before .progmem section.
46
676ee43b
KT
472013-03-25 Kai Tietz <ktietz@redhat.com>
48
49 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
50
81f5558e
NC
512013-03-21 Michael Schewe <michael.schewe@gmx.net>
52
53 * ld.texinfo (H8/300): Add description of relaxation of
54 mov @(disp:32,ERx) to mov @(disp:16,ERx).
55
31fd86f1
KT
562013-03-21 Kai Tietz <ktietz@redhat.com>
57
58 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
59 generated C++-symbols as stdcall/fastcall.
60
ffa9430d
AM
612013-03-18 Alan Modra <amodra@gmail.com>
62
63 * ld.texinfo (--as-needed): Update.
64
6f2ef5f5
JJ
652013-03-14 Jakub Jelinek <jakub@redhat.com>
66
67 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
68 aarch64linux* emulations.
69
3ab6909a
AM
702013-03-07 Alan Modra <amodra@gmail.com>
71
72 * ldfile.c (ldfile_open_command_file_1): Return after einfo
73 to avoid warning.
74
a07ee50e
CV
752013-03-05 Corinna Vinschen <vinschen@redhat.com>
76
77 * configure.host: Add x86_64-*-cygwin* as valid host.
78 * configure.tgt: Add x86_64-*-cygwin* as valid target.
79 * emultempl/pep.em: Handle different requirements for Cygwin in terms
80 of start addresses for executables and DLLs, based on memory model in
81 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
82
13762d2e
AM
832013-03-05 Alan Modra <amodra@gmail.com>
84
85 PR ld/15222
86 * ldlang.c (lang_size_sections_1): When given an lma_region align
87 LMA as per VMA only if lma_region is the same as region.
88
727f7031
NC
892013-02-27 Nick Clifton <nickc@redhat.com>
90
91 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
92 Add alignment of .bss section.
93 * scripttempl/elf32msp430_3.sc: Likewise.
94
56dd11f0
NC
952013-02-26 Nick Clifton <nickc@redhat.com>
96
97 PR ld/15188
98 * ld.texinfo: Fix typos.
99
7c00cf68
AM
1002013-02-21 Alan Modra <amodra@gmail.com>
101
102 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
103 .init_array/.fini_array input sections before .ctors/.dtors input
104 sections.
105 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
106
c0355132
AM
1072013-02-21 Alan Modra <amodra@gmail.com>
108
109 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
110 for elf_tdata changes.
111
12bd6957
AM
1122013-02-21 Alan Modra <amodra@gmail.com>
113
114 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
115 accessor macros.
116
a582ed93
AM
1172013-02-20 Alan Modra <amodra@gmail.com>
118
119 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
120 * Makefile.in: Regenerate.
121
46fed7f7
SL
1222013-02-19 Sandra Loosemore <sandra@codesourcery.com>
123
124 PR ld/15146
125 * plugin.c (plugin_notice): Add null check before dereferencing
126 pointer.
127
30e8ee25
AM
1282013-02-19 Alan Modra <amodra@gmail.com>
129
130 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
131 Replace all info->emit_note_gnu_build_id refs.
132 (id_note_section_size): Rename from
133 gld${EMULATION_NAME}_id_note_section_size.
134 (struct build_id_info): Delete.
135 (write_build_id): Rename from
136 gld${EMULATION_NAME}_write_build_id_section.
137 Update elf_tdata usage. Style, formatting.
138 (setup_build_id): New function.
139 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
140
3d5bef4c
L
1412013-02-16 H.J. Lu <hongjiu.lu@intel.com>
142
143 PR ld/15146
144 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
145 the real one.
146
4a2b04a7
L
1472013-02-16 H.J. Lu <hongjiu.lu@intel.com>
148
149 PR ld/15141
150 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
151
b138e9bf
KT
1522013-02-15 Kai Tietz <ktietz@redhat.com>
153
154 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
155 (.pdata): Merge .pdata* into .pdata section.
156
61087d8c
AM
1572013-02-11 Alan Modra <amodra@gmail.com>
158
159 * ldlang.c (get_init_priority): Comment typo.
160 (lang_finish): Free link_info.hash and lang_definedness_table.
161 (lang_end): Delete lang_definedness_table comment.
162
a1b8d843
AM
1632013-02-11 Alan Modra <amodra@gmail.com>
164
165 PR ld/15130
166 * ld.texinfo (-rpath-link): Typo fix.
167
20855e86
NC
1682013-02-08 Markos Chandras <markos.chandras@imgtec.com>
169
170 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
171 rather than userdata->flags.just_syms.
172
36591ba1 1732013-02-06 Sandra Loosemore <sandra@codesourcery.com>
4a2b04a7 174 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
175
176 Based on patches from Altera Corporation.
177
178 * Makefile.am (enios2elf.c): New rule.
179 * Makefile.in: Regenerated.
180 * configure.tgt: Add case for nios2*-*-*.
181 * emulparams/nios2elf.sh: New file.
182 * NEWS: Note Altera Nios II support.
183
4d4ef6fd
AM
1842013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
185
186 * emultempl/avrelf.em (avr_elf_before_parse): New function.
187 (LDEMUL_BEFORE_PARSE): Define.
188
eeaa4577
AM
1892013-02-06 Alan Modra <amodra@gmail.com>
190
191 PR ld/15096
192 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
193 * emultempl/alphaelf.em: Revert 2013-02-04.
194 * emultempl/cr16elf.em: Likewise.
195 * emultempl/crxelf.em: Likewise.
196 * emultempl/hppaelf.em: Likewise.
197 * emultempl/ia64elf.em: Likewise.
198 * emultempl/mipself.em: Likewise.
199 * NEWS: Revert 2013-01-21.
200
663fa543
L
2012013-02-04 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR ld/15096
204 * emultempl/alphaelf.em (alpha_after_parse): Call
205 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
206 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
207 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
208 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
209 * emultempl/mipself.em (mips_after_parse): Likewise.
210
211 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
212 to ...
213 (gld_${EMULATION_NAME}_after_parse): This. Call
214 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
215 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
216
217 * emultempl/elf32.em (new_dtags_set): New variable.
218 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
219 here.
220 (gld${EMULATION_NAME}_after_parse): New function.
221 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
222 with gld${EMULATION_NAME}_after_parse.
223 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
224 when setting link_info.new_dtags.
225
0a4e6638
KT
2262013-01-25 Kai Tietz <ktietz@redhat.com>
227
228 * deffilep.y (def_image_name): Adjust type of base-address
229 argument.
230 (%union): Add new type bfd_vma as vma.
231 (VMA): New rule.
232 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
233 (def_file_print): Use bfd's fprintf_vma to output base-address.
234
78c8d46c
NC
2352013-01-24 Nick Clifton <nickc@redhat.com>
236
237 * NEWS: Mention support for V850E3V5 architecture.
238
f5c66ab0
NC
2392013-01-23 Martin Koegler <martin.koegler@chello.at>
240
241 PR ld/15041
242 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
243 (.xdata): Similarly.
244 (.debug_frame): Similarly.
245
b176ded1
NC
2462013-01-23 Georg-Johann Lay <avr@gjlay.de>
247
248 PR ld/15037
249 * scripttempl/avr.sc (.eeprom): Keep it.
250
a6dea726
AM
2512013-01-23 Leif Ekblad <leif@rdos.net>
252
253 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
254 (eelf64rdos.c): New rule.
255 * emulparams/elf64rdos.sh: New file.
256 * configure.tgt (x86_64-*-rdos*): Use above.
257 * Makefile.in: Regenerate.
258
f0fe23c2
RM
2592013-01-22 Roland McGrath <mcgrathr@google.com>
260
261 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
262 new_dtags to TRUE for *-*-nacl* targets.
263
2642013-01-21 Mike Frysinger <vapier@gentoo.org>
822b8bf4
MF
265
266 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
267 link_info.new_dtags to TRUE for linux/gnu targets.
268 * NEWS: Mention new dtags default.
269
6738cadc
L
2702013-01-19 H.J. Lu <hongjiu.lu@intel.com>
271
272 * Makefile.am (HOSTING_SCRT0): New.
273
274 * configure.host (HOSTING_SCRT0): New. Used for PIE.
275
276 * configure.in (HOSTING_SCRT0): New AC_SUBST.
277
278 * Makefile.in: Regenerated.
279 * configure: Likewise.
280
b1b00fcc
MF
2812013-01-18 Mike Frysinger <vapier@gentoo.org>
282
283 * NEWS: Mention change in behavior with --enable-new-dtags.
284 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
285
0d705e9f
AM
2862013-01-14 Leif Ekblad <leif@rdos.net>
287 Alan Modra <amodra@gmail.com>
288
289 * ld.texinfo (-Tldata-segment): Describe.
290 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
291 * lexsup.c (ld_options): Add -Tldata-segment.
292 (parse_args): Handle OPTION_TLDATA_SEGMENT.
293 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
294
e4492aa0
L
2952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
296
297 * deffilep.y: Remove trailing white spaces.
298 * elf-hints-local.h: Likewise.
299 * ldexp.c: Likewise.
300 * ldlang.h: Likewise.
301 * ldmisc.c: Likewise.
302 * ldwrite.c: Likewise.
303 * pe-dll.c: Likewise.
304 * emulparams/criself.sh: Likewise.
305 * emulparams/crislinux.sh: Likewise.
306 * emulparams/elf32_tic6x_le.sh: Likewise.
307 * emulparams/elf32bmipn32-defs.sh: Likewise.
308 * emulparams/elf32mb_linux.sh: Likewise.
309 * emulparams/elf32mep.sh: Likewise.
310 * emulparams/elf32microblaze.sh: Likewise.
311 * emulparams/elf32ppc.sh: Likewise.
312 * emulparams/elf64_s390.sh: Likewise.
313 * emulparams/elf64alpha.sh: Likewise.
314 * emulparams/elf_s390.sh: Likewise.
315 * emulparams/elf_x86_64.sh: Likewise.
316 * emulparams/tic80coff.sh: Likewise.
317 * emultempl/aix.em: Likewise.
318 * emultempl/avrelf.em: Likewise.
319 * emultempl/cr16elf.em: Likewise.
320 * emultempl/pe.em: Likewise.
321 * emultempl/pep.em: Likewise.
322 * emultempl/spuelf.em: Likewise.
323 * emultempl/tic6xdsbt.em: Likewise.
324
a3c62988
NC
3252013-01-10 Will Newton <will.newton@imgtec.com>
326
327 * Makefile.am: Add Meta.
328 * Makefile.in: Regenerate.
329 * configure.tgt: Add Meta.
330 * emulparams/elf32metag.sh: New file.
331 * emultempl/metagelf.em: New file.
332
134960cc
AM
3332013-01-09 Alan Modra <amodra@gmail.com>
334
335 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
336 * emulparams/elf32_x86_64.sh: Likewise.
337 * emulparams/elf_k1om.sh: Likewise.
338 * emulparams/elf_l1om.sh: Likewise.
339 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
340 OTHER_BSS_SECTIONS. Substitute in script.
341
34d56033
AM
3422013-01-08 Leif Ekblad <leif@rdos.net>
343
344 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
345
d5c8b1f8
AM
3462013-01-08 Alan Modra <amodra@gmail.com>
347
348 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
98e38512 349 "name" param with a bfd_link_needed_list pointer. Update caller.
d5c8b1f8
AM
350 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
351
cc382d46
AM
3522013-01-08 Alan Modra <amodra@gmail.com>
353
354 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
355 * Makefile.in: Regenerate.
356
add24320
L
3572013-01-07 H.J. Lu <hongjiu.lu@intel.com>
358
359 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
360 compatibility.
361
7ca01ed9
NC
3622013-01-07 Patrice Dumas <pertusus@free.fr>
363
364 * ld.texinfo: Replace @ with @@ when it is part of the text.
365 Correct ordering of M68HC11 entry.
366
e407c74b
NC
3672013-01-04 Juergen Urban <JuergenUrban@gmx.de>
368
369 * configure.tgt: Support ELF files for Sony Playstation 2 (for
370 ps2dev and ps2sdk).
371 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
372 Playstation 2 ELF files using MIPS ABI n32.
373 * emulparams/elf32lr5900.sh: Create linker script for Sony
374 Playstation 2 ELF files using MIPS ABI o32.
375 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
376 files.
377
62658407
L
3782013-01-02 H.J. Lu <hongjiu.lu@intel.com>
379
380 * ldver.c (ldversion): Update copyright year to 2013.
381
4e5f3f9d 382For older changes see ChangeLog-2012
252b5132 383\f
4e5f3f9d 384Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
385
386Copying and distribution of this file, with or without modification,
387are permitted in any medium without royalty provided the copyright
388notice and this notice are preserved.
389
252b5132
RH
390Local Variables:
391mode: change-log
392left-margin: 8
393fill-column: 74
394version-control: never
395End:
This page took 0.65205 seconds and 4 git commands to generate.