Add .abiversion related support for ELFv2
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b2e951ec
NC
12013-10-14 Nick Clifton <nickc@redhat.com>
2
3 * emultempl/aix.em (_read_file): Close file at end of function.
4
18ff9b9b
RM
52013-10-10 Roland McGrath <mcgrathr@google.com>
6
7 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
8 It silences some compilers' warnings and is much less bizarre to read.
9
677e5a92
RM
102013-10-09 Roland McGrath <mcgrathr@google.com>
11
12 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
13 rather than a dummy assignment for unused parameter.
14 * plugin.c (get_input_file, release_input_file): Likewise.
15
d9313f4f
NC
162013-10-09 Nick Clifton <nickc@redhat.com>
17
18 PR ld/16028
19 * ldmain.c (add_keepsyms_file): Close file at end of function.
20
1419bbe5
WN
212013-10-03 Will Newton <will.newton@linaro.org>
22
23 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
24 * emulparams/aarch64elf32.sh: Likewise.
25
cbb2b07e
NC
262013-09-30 Nick Clifton <nickc@redhat.com>
27
28 * emulparams/msp430all.sh: Update ARCH names.
29
6c668e71
AM
302013-09-24 Alan Modra <amodra@gmail.com>
31
32 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
33 and cross-endian values.
34 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
35 and unset unwanted variables.
36
0f70b6b5
AM
372013-09-24 Alan Modra <amodra@gmail.com>
38
39 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
40 sysrooted. Also, don't always add tooldir when non-sysrooted.
41 Instead add both when native and tooldir also when TOOL_DIR is
42 defined. Always prepend '=' to paths when sysrooted. Always
43 put paths with LIBPATH_SUFFIX first in search order.
44
ecb33a79
CLT
452013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
46
47 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
48 * Makefile.in: Regenerate.
49
cc9afea3
AM
502013-09-20 Alan Modra <amodra@gmail.com>
51
52 * configure: Regenerate.
53
58ca03a2
TG
542013-09-18 Tristan Gingold <gingold@adacore.com>
55
56 * NEWS: Add marker for 2.24.
57
3d4a522e
NC
582013-09-17 Nick Clifton <nickc@redhat.com>
59
60 PR ld/15957
61 * deffilep.y (def_file_add_directive): Avoid readin past end of
62 buffer.
63
fe6d7d6a
NC
642013-08-28 Nick Clifton <nickc@redhat.com>
65
66 PR ld/15896
67 * ld.texinfo: Fix uses of MB abbreviation.
68
1098fd41
RM
692013-08-26 Roland McGrath <mcgrathr@google.com>
70
71 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
72 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
73 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
74
724e34c6
RM
752013-08-23 Roland McGrath <mcgrathr@google.com>
76
77 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
78 SIZEOF_HEADERS here; elf.sc does it already.
79
865acd35
NC
802013-08-23 Nick Clifton <nickc@redhat.com>
81
82 PR ld/15839
83 * scripttempl/avr.sc: Do not include gc'able sections into general
84 sections during relocatable links.
85
f69a2f97
NC
862013-08-22 Christian Franke <franke@computer.org>
87
88 * emultempl/pe.em: Add --disable-large-address-aware option.
89 * ld.texinfo (--disable-large-address-aware): Add documentation.
90
2e53f7d6
NC
912013-08-14 Clemens Lang <clemens.lang@fau.de>
92
93 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
94 * ldgram.y: Likewise
95 * ldlex.l: Likewise
96 * NEWS: Mention the new feature.
97 * ld.texinfo: Document the new feature.
98
1eec346e
NC
992013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
100
101 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
102 * ldlang.c: Likewise.
103 * ldlang.h: Likewise.
104 * ldlex.l: Likewise.
105 * mri.c: Likewise.
106 * ld.texinfo: Document new feature.
107 * NEWS: Mention new feature.
108
7a89b94e
NC
1092013-07-18 Roland McGrath <mcgrathr@google.com>
110
111 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
112 argument ALIGNMENT_POWER, use it instead of constant 3.
113
1de778ed
JL
1142013-07-08 Jeff Law <law@redhat.com>
115
116 * scripttempl/elf.sc: Handle function names and other text after
117 .text.unlikely too.
118
639453f5
TG
1192013-07-08 Tristan Gingold <gingold@adacore.com>
120
121 * scripttempl/ia64vms.sc: Add support of per data and per function
122 sections.
123
1c865ab2
AM
1242013-07-01 Alan Modra <amodra@gmail.com>
125
126 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
127 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
128 (gld${EMULATION_NAME}_after_allocation): Likewise.
129
0609b767
YZ
1302013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
131
132 * emulparams/aarch64elf32.sh: New file.
133
70f0bc67
YZ
1342013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
135
136 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
137 (eaarch64elf32b.c): New dependency and rule.
138 * Makefile.in: Re-generated.
139 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
140 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
141 * emulparams/aarch64elf32b.sh: New file.
142
cec5225b
YZ
1432013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
144
145 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
146 (eaarch64elf32.c): New dependency and rule.
147 * Makefile.in: Re-generated.
148 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
149 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
150 * emulparams/aarch64elf32.sh: New file.
151
833794fc
MR
1522013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
153
154 * emultempl/mipself.em (insn32): New variable.
155 (mips_create_output_section_statements): Handle insn32 mode.
156 (PARSE_AND_LIST_PROLOGUE): New macro.
157 (PARSE_AND_LIST_LONGOPTS): Likewise.
158 (PARSE_AND_LIST_OPTIONS): Likewise.
159
160 * gen-doc.texi: Set MIPS.
161 * ld.texinfo: Likewise.
162 (Options specific to MIPS targets): New section.
163 (ld and MIPS family): New node.
164 (Top, Machine Dependent): List the new node.
165
1bbce132
MR
1662013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
167
168 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
169 as close to .plt as possible.
170 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
171 $PLT_NEXT_DATA variables.
172
42429eac
RS
1732013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
174
175 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
176 (ALL_64_EMULATION_SOURCES): ...here.
177 * Makefile.in: Regenerate.
178
e8044f35
RS
1792013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
180
181 * NEWS: Document the removal of MIPS ECOFF targets.
182 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
183 MIPS ECOFF as an example of a target that supports small data.
184 * ldmain.c (g_switch_value): Likewise.
185 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
186 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
187 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
188 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
189 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
190 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
191 (emipslnews.c, emipspe.c): Delete rules.
192 * Makefile.in: Regenerate.
193 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
194 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
195 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
196 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
197 has now been removed.
198 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
199
8847944f
WN
2002013-06-19 Will Newton <will.newton@linaro.org>
201
202 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
203
aa489d7c
YZ
2042013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
205
206 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
207
316b4980
NC
2082013-06-12 Nick Clifton <nickc@redhat.com>
209
210 * ldcref.c (output_one_cref): Place common definitions after
211 ordinary definitions but before references.
212
10bf6894
NC
2132013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
214
215 PR ld/15598
216 * ld.texinfo (Source Code Reference): Fix typos.
217
692e2b8b
WN
2182013-06-07 Will Newton <will.newton@linaro.org>
219
220 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
221
c5da8c7d
NC
2222013-06-07 Nick Clifton <nickc@redhat.com>
223
224 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
225 option must appear before the SEGMENT_START is encountered in
226 order for the default value to be overridden.
227
cde7cb01
MR
2282013-05-03 Alan Modra <amodra@gmail.com>
229
230 PR ld/15365
231 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
232 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
233
a5382c42
MR
2342013-05-03 Alan Modra <amodra@gmail.com>
235
236 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
237 Only call lang_for_each_statement if an ELF hash table is used.
238
13761a11
NC
2392013-05-02 Nick Clifton <nickc@redhat.com>
240
241 * Makefile.am: Add emsp430X.c
242 * Makefine.in: Regenerate.
243 * configure.tgt (msp430): Add msp430X emulation.
244 * ldmain.c (multiple_definition): Only disable relaxation if it
245 was enabled by the user.
246 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
247 * emulparams/msp430all.sh: Add support for MSP430X.
248 * emultempl/generic.em: (before_parse): Enable relaxation for the
249 MSP430.
250 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
251 section.
252 * scripttempl/msp430_3.sc: Likewise.
253 * NEWS: Mention support for MSP430X.
254
df26367c
MR
2552013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
256
257 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
258 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
259 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
260
b4d040b1
MR
2612013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
262
263 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
264 Use is_elf_hash_table rather than a handcoded condition.
265
1ae5c3ae
NC
2662013-04-30 Nick Clifton <nickc@redhat.com>
267
268 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
269 are sorted by descending order of alignment.
270
b40bf0a2
NC
2712013-04-29 Nick Clifton <nickc@redhat.com>
272
273 * scripttempl/DWARF.sc: Add support for .debug_line.* and
274 .debug_line_end.
275
27320b85
NC
2762013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
277
278 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
279 psuedo-relocs.
280
d061dfac
TS
2812013-04-28 Thomas Schwinge <thomas@codesourcery.com>
282
283 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
284 * scripttempl/avr.sc: Likewise.
285 * scripttempl/elf.sc: Likewise.
286 * scripttempl/elf32cr16.sc: Likewise.
287 * scripttempl/elf32crx.sc: Likewise.
288 * scripttempl/elf32msp430.sc: Likewise.
289 * scripttempl/elf32msp430_3.sc: Likewise.
290 * scripttempl/elf32sh-symbian.sc: Likewise.
291 * scripttempl/elf64hppa.sc: Likewise.
292 * scripttempl/elf_chaos.sc: Likewise.
293 * scripttempl/elfd10v.sc: Likewise.
294 * scripttempl/elfd30v.sc: Likewise.
295 * scripttempl/elfi370.sc: Likewise.
296 * scripttempl/elfm68hc11.sc: Likewise.
297 * scripttempl/elfm68hc12.sc: Likewise.
298 * scripttempl/elfxgate.sc: Likewise.
299 * scripttempl/elfxtensa.sc: Likewise.
300 * scripttempl/epiphany_4x4.sc: Likewise.
301 * scripttempl/i386beos.sc: Likewise.
302 * scripttempl/i386go32.sc: Likewise.
303 * scripttempl/ia64vms.sc: Likewise.
304 * scripttempl/ip2k.sc: Likewise.
305 * scripttempl/iq2000.sc: Likewise.
306 * scripttempl/mep.sc: Likewise.
307 * scripttempl/mmo.sc: Likewise.
308 * scripttempl/v850.sc: Likewise.
309 * scripttempl/v850_rh850.sc: Likewise.
310 * scripttempl/xstormy16.sc: Likewise.
311
778ee4a6
NC
3122013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
313
314 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
315
4706eab9
AM
3162013-04-26 Alan Modra <amodra@gmail.com>
317
318 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
319 unresolved_syms_in_shared_libs rather than !executable to
320 determine whether to load DT_NEEDED libraries.
321
49926cd0
AM
3222013-04-25 Alan Modra <amodra@gmail.com>
323
324 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
325 (eelf32lppclinux.c): New rule.
326 * Makefile.in: Regenerate.
327 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
328 with corresponding little-endian targets.
329 * emulparams/elf32lppc.sh: Update comment.
330 * emulparams/elf32lppclinux.sh: New.
331
05567e3d
L
3322013-04-24 H.J. Lu <hongjiu.lu@intel.com>
333
334 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
335 x86_64-*-elf*.
336 (targ_extra_libpath): Likewise.
337 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
338
4390599b
YZ
3392013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
340
341 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
342 * emulparams/aarch64linux.sh: Ditto.
343 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
344 Replace elf64 with elf${ELFSIZE}.
345 (elf64_aarch64_add_stub_section): Likewise.
346 (build_section_lists): Likewise.
347 (gld${EMULATION_NAME}_after_allocation): Likewise.
348 (gld${EMULATION_NAME}_finish): Likewise.
349 (aarch64_elf_create_output_section_statements): Likewise.
350
2cfa18a9
NC
3512013-04-24 Nick Clifton <nickc@redhat.com>
352
353 PR ld/15389
354 * scripttempl/avr.sc: Add .note.gnu.build-id section.
355
bfeb4a28
AM
3562013-04-22 Alan Modra <amodra@gmail.com>
357
358 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
359 Check return from ppc64_elf_init_stub_bfd.
360
ceb0a680
NC
3612013-04-15 Nick Clifton <nickc@redhat.com>
362
cb1238c0
NC
363 * Makefile.am (ELF_DEPS): Add a dependency upon
364 scripttempl/DWARF.sc.
365 (ELF_GEN_DEPS): Likewise.
ec05a26b 366 (emmo.c): Likewise.
cb1238c0
NC
367 * Makefile.in: Regenerate.
368
ceb0a680
NC
369 * scripttempl/armbpabi.sc: Replace DWARF sections with an
370 inclusion of DWARF.sc.
371 * scripttempl/avr.sc: Likewise.
372 * scripttempl/elf.sc: Likewise.
373 * scripttempl/elf32cr16.sc: Likewise.
374 * scripttempl/elf32crx.sc: Likewise.
375 * scripttempl/elf32msp430.sc: Likewise.
376 * scripttempl/elf32msp430_3.sc: Likewise.
377 * scripttempl/elf32sh-symbian.sc: Likewise.
378 * scripttempl/elf64hppa.sc: Likewise.
379 * scripttempl/elf_chaos.sc: Likewise.
380 * scripttempl/elfd10v.sc: Likewise.
381 * scripttempl/elfd30v.sc: Likewise.
382 * scripttempl/elfi370.sc: Likewise.
383 * scripttempl/elfm68hc11.sc: Likewise.
384 * scripttempl/elfm68hc12.sc: Likewise.
385 * scripttempl/elfxgate.sc: Likewise.
386 * scripttempl/elfxtensa.sc: Likewise.
387 * scripttempl/epiphany_4x4.sc: Likewise.
388 * scripttempl/i386beos.sc: Likewise.
389 * scripttempl/i386go32.sc: Likewise.
390 * scripttempl/ia64vms.sc: Likewise.
391 * scripttempl/ip2k.sc: Likewise.
392 * scripttempl/iq2000.sc: Likewise.
393 * scripttempl/mep.sc: Likewise.
394 * scripttempl/mmo.sc: Likewise.
395 * scripttempl/v850.sc: Likewise.
396 * scripttempl/v850_rh850.sc: Likewise.
397 * scripttempl/xstormy16.sc: Likewise.
398 * scripttempl/DWARF.sc: New.
399
8ff4c1f3
AM
4002013-04-04 Alan Modra <amodra@gmail.com>
401
402 * ldlang.c (load_symbols): Report "error adding symbols" on
403 bfd_link_add_symbols failure.
404 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
405 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
406 (gld${EMULATION_NAME}_try_needed): Likewise.
407
861319c9
NC
4082013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
409
410 PR ld/13812
411 * scripttempl/avr.sc: Place trampolines before .progmem section.
412
676ee43b
KT
4132013-03-25 Kai Tietz <ktietz@redhat.com>
414
415 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
416
81f5558e
NC
4172013-03-21 Michael Schewe <michael.schewe@gmx.net>
418
419 * ld.texinfo (H8/300): Add description of relaxation of
420 mov @(disp:32,ERx) to mov @(disp:16,ERx).
421
31fd86f1
KT
4222013-03-21 Kai Tietz <ktietz@redhat.com>
423
424 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
425 generated C++-symbols as stdcall/fastcall.
426
ffa9430d
AM
4272013-03-18 Alan Modra <amodra@gmail.com>
428
429 * ld.texinfo (--as-needed): Update.
430
6f2ef5f5
JJ
4312013-03-14 Jakub Jelinek <jakub@redhat.com>
432
433 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
434 aarch64linux* emulations.
435
3ab6909a
AM
4362013-03-07 Alan Modra <amodra@gmail.com>
437
438 * ldfile.c (ldfile_open_command_file_1): Return after einfo
439 to avoid warning.
440
a07ee50e
CV
4412013-03-05 Corinna Vinschen <vinschen@redhat.com>
442
443 * configure.host: Add x86_64-*-cygwin* as valid host.
444 * configure.tgt: Add x86_64-*-cygwin* as valid target.
445 * emultempl/pep.em: Handle different requirements for Cygwin in terms
446 of start addresses for executables and DLLs, based on memory model in
447 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
448
13762d2e
AM
4492013-03-05 Alan Modra <amodra@gmail.com>
450
451 PR ld/15222
452 * ldlang.c (lang_size_sections_1): When given an lma_region align
453 LMA as per VMA only if lma_region is the same as region.
454
727f7031
NC
4552013-02-27 Nick Clifton <nickc@redhat.com>
456
457 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
458 Add alignment of .bss section.
459 * scripttempl/elf32msp430_3.sc: Likewise.
460
56dd11f0
NC
4612013-02-26 Nick Clifton <nickc@redhat.com>
462
463 PR ld/15188
464 * ld.texinfo: Fix typos.
465
7c00cf68
AM
4662013-02-21 Alan Modra <amodra@gmail.com>
467
468 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
469 .init_array/.fini_array input sections before .ctors/.dtors input
470 sections.
471 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
472
c0355132
AM
4732013-02-21 Alan Modra <amodra@gmail.com>
474
475 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
476 for elf_tdata changes.
477
12bd6957
AM
4782013-02-21 Alan Modra <amodra@gmail.com>
479
480 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
481 accessor macros.
482
a582ed93
AM
4832013-02-20 Alan Modra <amodra@gmail.com>
484
485 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
486 * Makefile.in: Regenerate.
487
46fed7f7
SL
4882013-02-19 Sandra Loosemore <sandra@codesourcery.com>
489
490 PR ld/15146
491 * plugin.c (plugin_notice): Add null check before dereferencing
492 pointer.
493
30e8ee25
AM
4942013-02-19 Alan Modra <amodra@gmail.com>
495
496 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
497 Replace all info->emit_note_gnu_build_id refs.
498 (id_note_section_size): Rename from
499 gld${EMULATION_NAME}_id_note_section_size.
500 (struct build_id_info): Delete.
501 (write_build_id): Rename from
502 gld${EMULATION_NAME}_write_build_id_section.
503 Update elf_tdata usage. Style, formatting.
504 (setup_build_id): New function.
505 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
506
3d5bef4c
L
5072013-02-16 H.J. Lu <hongjiu.lu@intel.com>
508
509 PR ld/15146
510 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
511 the real one.
512
4a2b04a7
L
5132013-02-16 H.J. Lu <hongjiu.lu@intel.com>
514
515 PR ld/15141
516 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
517
b138e9bf
KT
5182013-02-15 Kai Tietz <ktietz@redhat.com>
519
520 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
521 (.pdata): Merge .pdata* into .pdata section.
522
61087d8c
AM
5232013-02-11 Alan Modra <amodra@gmail.com>
524
525 * ldlang.c (get_init_priority): Comment typo.
526 (lang_finish): Free link_info.hash and lang_definedness_table.
527 (lang_end): Delete lang_definedness_table comment.
528
a1b8d843
AM
5292013-02-11 Alan Modra <amodra@gmail.com>
530
531 PR ld/15130
532 * ld.texinfo (-rpath-link): Typo fix.
533
20855e86
NC
5342013-02-08 Markos Chandras <markos.chandras@imgtec.com>
535
536 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
537 rather than userdata->flags.just_syms.
538
36591ba1 5392013-02-06 Sandra Loosemore <sandra@codesourcery.com>
4a2b04a7 540 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
541
542 Based on patches from Altera Corporation.
543
544 * Makefile.am (enios2elf.c): New rule.
545 * Makefile.in: Regenerated.
546 * configure.tgt: Add case for nios2*-*-*.
547 * emulparams/nios2elf.sh: New file.
548 * NEWS: Note Altera Nios II support.
549
4d4ef6fd
AM
5502013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
551
552 * emultempl/avrelf.em (avr_elf_before_parse): New function.
553 (LDEMUL_BEFORE_PARSE): Define.
554
eeaa4577
AM
5552013-02-06 Alan Modra <amodra@gmail.com>
556
557 PR ld/15096
558 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
559 * emultempl/alphaelf.em: Revert 2013-02-04.
560 * emultempl/cr16elf.em: Likewise.
561 * emultempl/crxelf.em: Likewise.
562 * emultempl/hppaelf.em: Likewise.
563 * emultempl/ia64elf.em: Likewise.
564 * emultempl/mipself.em: Likewise.
565 * NEWS: Revert 2013-01-21.
566
663fa543
L
5672013-02-04 H.J. Lu <hongjiu.lu@intel.com>
568
569 PR ld/15096
570 * emultempl/alphaelf.em (alpha_after_parse): Call
571 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
572 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
573 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
574 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
575 * emultempl/mipself.em (mips_after_parse): Likewise.
576
577 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
578 to ...
579 (gld_${EMULATION_NAME}_after_parse): This. Call
580 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
581 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
582
583 * emultempl/elf32.em (new_dtags_set): New variable.
584 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
585 here.
586 (gld${EMULATION_NAME}_after_parse): New function.
587 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
588 with gld${EMULATION_NAME}_after_parse.
589 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
590 when setting link_info.new_dtags.
591
0a4e6638
KT
5922013-01-25 Kai Tietz <ktietz@redhat.com>
593
594 * deffilep.y (def_image_name): Adjust type of base-address
595 argument.
596 (%union): Add new type bfd_vma as vma.
597 (VMA): New rule.
598 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
599 (def_file_print): Use bfd's fprintf_vma to output base-address.
600
78c8d46c
NC
6012013-01-24 Nick Clifton <nickc@redhat.com>
602
603 * NEWS: Mention support for V850E3V5 architecture.
604
f5c66ab0
NC
6052013-01-23 Martin Koegler <martin.koegler@chello.at>
606
607 PR ld/15041
608 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
609 (.xdata): Similarly.
610 (.debug_frame): Similarly.
611
b176ded1
NC
6122013-01-23 Georg-Johann Lay <avr@gjlay.de>
613
614 PR ld/15037
615 * scripttempl/avr.sc (.eeprom): Keep it.
616
a6dea726
AM
6172013-01-23 Leif Ekblad <leif@rdos.net>
618
619 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
620 (eelf64rdos.c): New rule.
621 * emulparams/elf64rdos.sh: New file.
622 * configure.tgt (x86_64-*-rdos*): Use above.
623 * Makefile.in: Regenerate.
624
f0fe23c2
RM
6252013-01-22 Roland McGrath <mcgrathr@google.com>
626
627 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
628 new_dtags to TRUE for *-*-nacl* targets.
629
6302013-01-21 Mike Frysinger <vapier@gentoo.org>
822b8bf4
MF
631
632 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
633 link_info.new_dtags to TRUE for linux/gnu targets.
634 * NEWS: Mention new dtags default.
635
6738cadc
L
6362013-01-19 H.J. Lu <hongjiu.lu@intel.com>
637
638 * Makefile.am (HOSTING_SCRT0): New.
639
640 * configure.host (HOSTING_SCRT0): New. Used for PIE.
641
642 * configure.in (HOSTING_SCRT0): New AC_SUBST.
643
644 * Makefile.in: Regenerated.
645 * configure: Likewise.
646
b1b00fcc
MF
6472013-01-18 Mike Frysinger <vapier@gentoo.org>
648
649 * NEWS: Mention change in behavior with --enable-new-dtags.
650 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
651
0d705e9f
AM
6522013-01-14 Leif Ekblad <leif@rdos.net>
653 Alan Modra <amodra@gmail.com>
654
655 * ld.texinfo (-Tldata-segment): Describe.
656 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
657 * lexsup.c (ld_options): Add -Tldata-segment.
658 (parse_args): Handle OPTION_TLDATA_SEGMENT.
659 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
660
e4492aa0
L
6612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
662
663 * deffilep.y: Remove trailing white spaces.
664 * elf-hints-local.h: Likewise.
665 * ldexp.c: Likewise.
666 * ldlang.h: Likewise.
667 * ldmisc.c: Likewise.
668 * ldwrite.c: Likewise.
669 * pe-dll.c: Likewise.
670 * emulparams/criself.sh: Likewise.
671 * emulparams/crislinux.sh: Likewise.
672 * emulparams/elf32_tic6x_le.sh: Likewise.
673 * emulparams/elf32bmipn32-defs.sh: Likewise.
674 * emulparams/elf32mb_linux.sh: Likewise.
675 * emulparams/elf32mep.sh: Likewise.
676 * emulparams/elf32microblaze.sh: Likewise.
677 * emulparams/elf32ppc.sh: Likewise.
678 * emulparams/elf64_s390.sh: Likewise.
679 * emulparams/elf64alpha.sh: Likewise.
680 * emulparams/elf_s390.sh: Likewise.
681 * emulparams/elf_x86_64.sh: Likewise.
682 * emulparams/tic80coff.sh: Likewise.
683 * emultempl/aix.em: Likewise.
684 * emultempl/avrelf.em: Likewise.
685 * emultempl/cr16elf.em: Likewise.
686 * emultempl/pe.em: Likewise.
687 * emultempl/pep.em: Likewise.
688 * emultempl/spuelf.em: Likewise.
689 * emultempl/tic6xdsbt.em: Likewise.
690
a3c62988
NC
6912013-01-10 Will Newton <will.newton@imgtec.com>
692
693 * Makefile.am: Add Meta.
694 * Makefile.in: Regenerate.
695 * configure.tgt: Add Meta.
696 * emulparams/elf32metag.sh: New file.
697 * emultempl/metagelf.em: New file.
698
134960cc
AM
6992013-01-09 Alan Modra <amodra@gmail.com>
700
701 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
702 * emulparams/elf32_x86_64.sh: Likewise.
703 * emulparams/elf_k1om.sh: Likewise.
704 * emulparams/elf_l1om.sh: Likewise.
705 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
706 OTHER_BSS_SECTIONS. Substitute in script.
707
34d56033
AM
7082013-01-08 Leif Ekblad <leif@rdos.net>
709
710 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
711
d5c8b1f8
AM
7122013-01-08 Alan Modra <amodra@gmail.com>
713
714 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
98e38512 715 "name" param with a bfd_link_needed_list pointer. Update caller.
d5c8b1f8
AM
716 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
717
cc382d46
AM
7182013-01-08 Alan Modra <amodra@gmail.com>
719
720 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
721 * Makefile.in: Regenerate.
722
add24320
L
7232013-01-07 H.J. Lu <hongjiu.lu@intel.com>
724
725 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
726 compatibility.
727
7ca01ed9
NC
7282013-01-07 Patrice Dumas <pertusus@free.fr>
729
730 * ld.texinfo: Replace @ with @@ when it is part of the text.
731 Correct ordering of M68HC11 entry.
732
e407c74b
NC
7332013-01-04 Juergen Urban <JuergenUrban@gmx.de>
734
735 * configure.tgt: Support ELF files for Sony Playstation 2 (for
736 ps2dev and ps2sdk).
737 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
738 Playstation 2 ELF files using MIPS ABI n32.
739 * emulparams/elf32lr5900.sh: Create linker script for Sony
740 Playstation 2 ELF files using MIPS ABI o32.
741 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
742 files.
743
62658407
L
7442013-01-02 H.J. Lu <hongjiu.lu@intel.com>
745
746 * ldver.c (ldversion): Update copyright year to 2013.
747
4e5f3f9d 748For older changes see ChangeLog-2012
252b5132 749\f
4e5f3f9d 750Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
751
752Copying and distribution of this file, with or without modification,
753are permitted in any medium without royalty provided the copyright
754notice and this notice are preserved.
755
252b5132
RH
756Local Variables:
757mode: change-log
758left-margin: 8
759fill-column: 74
760version-control: never
761End:
This page took 0.704432 seconds and 4 git commands to generate.