Plug target side conditions and commands leaks.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b27caf75
L
12013-11-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/16259
4 * Makefile.am (HOSTING_SLIBS): New.
5 * configure.host (HOSTING_SLIBS): New. Used for PIE.
6 * configure.in (HOSTING_SLIBS): New AC_SUBST.
7 * Makefile.in: Regenerated.
8 * configure: Likewise.
9
0cb112f7
CF
102013-11-22 Cory Fields <cory@coryfields.com>
11
12 * pe-dll.c (fill_edata): Only use a real timestamp if
13 --insert-timestamp was used.
14 * emultempl/pe.em: Add the --insert-timestamp option.
15 * emultempl/pep.em: Likewise for 64bit.
16 * ld.texinfo: Document the --insert-timestamp option.
17
5ed365b4
SKS
182013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
19
20 * scripttempl/avr.sc: Set .data section's LMA to next available
21 address in text region.
22
56244278
AP
232013-11-21 Andrew Pinski <apinski@cavium.com>
24
25 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
26 and eaarch64linux32b.c
27 (eaarch64linux32.c): New target.
28 (eaarch64linux32b.c): Likewise.
29 * Makefile.in: Regenerate.
30 * configure.tgt (aarch64_be-*-linux*): Add
31 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
32 (aarch64-*-linux*): Likewise.
33 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
34 * emulparams/aarch64linux32.sh: New file.
35 * emulparams/aarch64linux32b.sh: New file.
36
0d091088
AP
372013-11-21 Andrew Pinski <apinski@cavium.com>
38
39 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
40 into targ_extra_libpath.
41 (aarch64-*-linux*): Likewise.
42
8d5c4b7b
NC
432013-11-21 Nick Clifton <nickc@redhat.com>
44
45 PR ld/16192
46 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
47 newly allocated idata5 block.
48
925bbbbb
NC
492013-11-20 Nick Clifton <nickc@redhat.com>
50
51 * scripttempl/elf32msp430.sc (.data): Set the based on the next
52 free location in the text memory region, not a computation based
53 upon the size of the text section. Orphaned sections or other
54 linker scripts might insert new sections between the .text section
55 and the .data section.
56 * scripttempl/elf32msp430_3.sc (.data): Likewise.
57
c2763e27
RM
582013-11-19 Roland McGrath <mcgrathr@google.com>
59 Alan Modra <amodra@gmail.com>
60
61 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
62 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
63 hidden. Instead, just do it directly here, and only if it was
64 referenced but not defined.
65
baa2af86
CLT
662013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
67
68 * emulparams/nios2linux.sh: New emulation file.
69 * configure.tgt: Add nios2*-*-linux* emulation case.
70 * Makefile.am (enios2linux.c): New emulation entry.
71 * Makefile.in: Regenerate.
72
b2e951ec
NC
732013-10-14 Nick Clifton <nickc@redhat.com>
74
75 * emultempl/aix.em (_read_file): Close file at end of function.
76
18ff9b9b
RM
772013-10-10 Roland McGrath <mcgrathr@google.com>
78
79 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
80 It silences some compilers' warnings and is much less bizarre to read.
81
677e5a92
RM
822013-10-09 Roland McGrath <mcgrathr@google.com>
83
84 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
85 rather than a dummy assignment for unused parameter.
86 * plugin.c (get_input_file, release_input_file): Likewise.
87
d9313f4f
NC
882013-10-09 Nick Clifton <nickc@redhat.com>
89
90 PR ld/16028
91 * ldmain.c (add_keepsyms_file): Close file at end of function.
92
1419bbe5
WN
932013-10-03 Will Newton <will.newton@linaro.org>
94
95 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
96 * emulparams/aarch64elf32.sh: Likewise.
97
cbb2b07e
NC
982013-09-30 Nick Clifton <nickc@redhat.com>
99
100 * emulparams/msp430all.sh: Update ARCH names.
101
6c668e71
AM
1022013-09-24 Alan Modra <amodra@gmail.com>
103
104 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
105 and cross-endian values.
106 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
107 and unset unwanted variables.
108
0f70b6b5
AM
1092013-09-24 Alan Modra <amodra@gmail.com>
110
111 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
112 sysrooted. Also, don't always add tooldir when non-sysrooted.
113 Instead add both when native and tooldir also when TOOL_DIR is
114 defined. Always prepend '=' to paths when sysrooted. Always
115 put paths with LIBPATH_SUFFIX first in search order.
116
ecb33a79
CLT
1172013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
118
119 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
120 * Makefile.in: Regenerate.
121
cc9afea3
AM
1222013-09-20 Alan Modra <amodra@gmail.com>
123
124 * configure: Regenerate.
125
58ca03a2
TG
1262013-09-18 Tristan Gingold <gingold@adacore.com>
127
128 * NEWS: Add marker for 2.24.
129
3d4a522e
NC
1302013-09-17 Nick Clifton <nickc@redhat.com>
131
132 PR ld/15957
133 * deffilep.y (def_file_add_directive): Avoid readin past end of
134 buffer.
135
fe6d7d6a
NC
1362013-08-28 Nick Clifton <nickc@redhat.com>
137
138 PR ld/15896
139 * ld.texinfo: Fix uses of MB abbreviation.
140
1098fd41
RM
1412013-08-26 Roland McGrath <mcgrathr@google.com>
142
143 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
144 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
145 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
146
724e34c6
RM
1472013-08-23 Roland McGrath <mcgrathr@google.com>
148
149 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
150 SIZEOF_HEADERS here; elf.sc does it already.
151
865acd35
NC
1522013-08-23 Nick Clifton <nickc@redhat.com>
153
154 PR ld/15839
155 * scripttempl/avr.sc: Do not include gc'able sections into general
156 sections during relocatable links.
157
f69a2f97
NC
1582013-08-22 Christian Franke <franke@computer.org>
159
160 * emultempl/pe.em: Add --disable-large-address-aware option.
161 * ld.texinfo (--disable-large-address-aware): Add documentation.
162
2e53f7d6
NC
1632013-08-14 Clemens Lang <clemens.lang@fau.de>
164
165 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
166 * ldgram.y: Likewise
167 * ldlex.l: Likewise
168 * NEWS: Mention the new feature.
169 * ld.texinfo: Document the new feature.
170
1eec346e
NC
1712013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
172
173 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
174 * ldlang.c: Likewise.
175 * ldlang.h: Likewise.
176 * ldlex.l: Likewise.
177 * mri.c: Likewise.
178 * ld.texinfo: Document new feature.
179 * NEWS: Mention new feature.
180
7a89b94e
NC
1812013-07-18 Roland McGrath <mcgrathr@google.com>
182
183 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
184 argument ALIGNMENT_POWER, use it instead of constant 3.
185
1de778ed
JL
1862013-07-08 Jeff Law <law@redhat.com>
187
188 * scripttempl/elf.sc: Handle function names and other text after
189 .text.unlikely too.
190
639453f5
TG
1912013-07-08 Tristan Gingold <gingold@adacore.com>
192
193 * scripttempl/ia64vms.sc: Add support of per data and per function
194 sections.
195
1c865ab2
AM
1962013-07-01 Alan Modra <amodra@gmail.com>
197
198 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
199 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
200 (gld${EMULATION_NAME}_after_allocation): Likewise.
201
0609b767
YZ
2022013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
203
204 * emulparams/aarch64elf32.sh: New file.
205
70f0bc67
YZ
2062013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
207
208 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
209 (eaarch64elf32b.c): New dependency and rule.
210 * Makefile.in: Re-generated.
211 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
212 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
213 * emulparams/aarch64elf32b.sh: New file.
214
cec5225b
YZ
2152013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
216
217 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
218 (eaarch64elf32.c): New dependency and rule.
219 * Makefile.in: Re-generated.
220 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
221 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
222 * emulparams/aarch64elf32.sh: New file.
223
833794fc
MR
2242013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
225
226 * emultempl/mipself.em (insn32): New variable.
227 (mips_create_output_section_statements): Handle insn32 mode.
228 (PARSE_AND_LIST_PROLOGUE): New macro.
229 (PARSE_AND_LIST_LONGOPTS): Likewise.
230 (PARSE_AND_LIST_OPTIONS): Likewise.
231
232 * gen-doc.texi: Set MIPS.
233 * ld.texinfo: Likewise.
234 (Options specific to MIPS targets): New section.
235 (ld and MIPS family): New node.
236 (Top, Machine Dependent): List the new node.
237
1bbce132
MR
2382013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
239
240 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
241 as close to .plt as possible.
242 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
243 $PLT_NEXT_DATA variables.
244
42429eac
RS
2452013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
246
247 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
248 (ALL_64_EMULATION_SOURCES): ...here.
249 * Makefile.in: Regenerate.
250
e8044f35
RS
2512013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
252
253 * NEWS: Document the removal of MIPS ECOFF targets.
254 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
255 MIPS ECOFF as an example of a target that supports small data.
256 * ldmain.c (g_switch_value): Likewise.
257 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
258 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
259 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
260 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
261 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
262 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
263 (emipslnews.c, emipspe.c): Delete rules.
264 * Makefile.in: Regenerate.
265 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
266 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
267 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
268 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
269 has now been removed.
270 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
271
8847944f
WN
2722013-06-19 Will Newton <will.newton@linaro.org>
273
274 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
275
aa489d7c
YZ
2762013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
277
278 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
279
316b4980
NC
2802013-06-12 Nick Clifton <nickc@redhat.com>
281
282 * ldcref.c (output_one_cref): Place common definitions after
283 ordinary definitions but before references.
284
10bf6894
NC
2852013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
286
287 PR ld/15598
288 * ld.texinfo (Source Code Reference): Fix typos.
289
692e2b8b
WN
2902013-06-07 Will Newton <will.newton@linaro.org>
291
292 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
293
c5da8c7d
NC
2942013-06-07 Nick Clifton <nickc@redhat.com>
295
296 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
297 option must appear before the SEGMENT_START is encountered in
298 order for the default value to be overridden.
299
cde7cb01
MR
3002013-05-03 Alan Modra <amodra@gmail.com>
301
302 PR ld/15365
303 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
304 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
305
a5382c42
MR
3062013-05-03 Alan Modra <amodra@gmail.com>
307
308 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
309 Only call lang_for_each_statement if an ELF hash table is used.
310
13761a11
NC
3112013-05-02 Nick Clifton <nickc@redhat.com>
312
313 * Makefile.am: Add emsp430X.c
314 * Makefine.in: Regenerate.
315 * configure.tgt (msp430): Add msp430X emulation.
316 * ldmain.c (multiple_definition): Only disable relaxation if it
317 was enabled by the user.
318 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
319 * emulparams/msp430all.sh: Add support for MSP430X.
320 * emultempl/generic.em: (before_parse): Enable relaxation for the
321 MSP430.
322 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
323 section.
324 * scripttempl/msp430_3.sc: Likewise.
325 * NEWS: Mention support for MSP430X.
326
df26367c
MR
3272013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
328
329 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
330 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
331 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
332
b4d040b1
MR
3332013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
334
335 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
336 Use is_elf_hash_table rather than a handcoded condition.
337
1ae5c3ae
NC
3382013-04-30 Nick Clifton <nickc@redhat.com>
339
340 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
341 are sorted by descending order of alignment.
342
b40bf0a2
NC
3432013-04-29 Nick Clifton <nickc@redhat.com>
344
345 * scripttempl/DWARF.sc: Add support for .debug_line.* and
346 .debug_line_end.
347
27320b85
NC
3482013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
349
350 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
351 psuedo-relocs.
352
d061dfac
TS
3532013-04-28 Thomas Schwinge <thomas@codesourcery.com>
354
355 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
356 * scripttempl/avr.sc: Likewise.
357 * scripttempl/elf.sc: Likewise.
358 * scripttempl/elf32cr16.sc: Likewise.
359 * scripttempl/elf32crx.sc: Likewise.
360 * scripttempl/elf32msp430.sc: Likewise.
361 * scripttempl/elf32msp430_3.sc: Likewise.
362 * scripttempl/elf32sh-symbian.sc: Likewise.
363 * scripttempl/elf64hppa.sc: Likewise.
364 * scripttempl/elf_chaos.sc: Likewise.
365 * scripttempl/elfd10v.sc: Likewise.
366 * scripttempl/elfd30v.sc: Likewise.
367 * scripttempl/elfi370.sc: Likewise.
368 * scripttempl/elfm68hc11.sc: Likewise.
369 * scripttempl/elfm68hc12.sc: Likewise.
370 * scripttempl/elfxgate.sc: Likewise.
371 * scripttempl/elfxtensa.sc: Likewise.
372 * scripttempl/epiphany_4x4.sc: Likewise.
373 * scripttempl/i386beos.sc: Likewise.
374 * scripttempl/i386go32.sc: Likewise.
375 * scripttempl/ia64vms.sc: Likewise.
376 * scripttempl/ip2k.sc: Likewise.
377 * scripttempl/iq2000.sc: Likewise.
378 * scripttempl/mep.sc: Likewise.
379 * scripttempl/mmo.sc: Likewise.
380 * scripttempl/v850.sc: Likewise.
381 * scripttempl/v850_rh850.sc: Likewise.
382 * scripttempl/xstormy16.sc: Likewise.
383
778ee4a6
NC
3842013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
385
386 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
387
4706eab9
AM
3882013-04-26 Alan Modra <amodra@gmail.com>
389
390 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
391 unresolved_syms_in_shared_libs rather than !executable to
392 determine whether to load DT_NEEDED libraries.
393
49926cd0
AM
3942013-04-25 Alan Modra <amodra@gmail.com>
395
396 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
397 (eelf32lppclinux.c): New rule.
398 * Makefile.in: Regenerate.
399 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
400 with corresponding little-endian targets.
401 * emulparams/elf32lppc.sh: Update comment.
402 * emulparams/elf32lppclinux.sh: New.
403
05567e3d
L
4042013-04-24 H.J. Lu <hongjiu.lu@intel.com>
405
406 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
407 x86_64-*-elf*.
408 (targ_extra_libpath): Likewise.
409 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
410
4390599b
YZ
4112013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
412
413 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
414 * emulparams/aarch64linux.sh: Ditto.
415 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
416 Replace elf64 with elf${ELFSIZE}.
417 (elf64_aarch64_add_stub_section): Likewise.
418 (build_section_lists): Likewise.
419 (gld${EMULATION_NAME}_after_allocation): Likewise.
420 (gld${EMULATION_NAME}_finish): Likewise.
421 (aarch64_elf_create_output_section_statements): Likewise.
422
2cfa18a9
NC
4232013-04-24 Nick Clifton <nickc@redhat.com>
424
425 PR ld/15389
426 * scripttempl/avr.sc: Add .note.gnu.build-id section.
427
bfeb4a28
AM
4282013-04-22 Alan Modra <amodra@gmail.com>
429
430 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
431 Check return from ppc64_elf_init_stub_bfd.
432
ceb0a680
NC
4332013-04-15 Nick Clifton <nickc@redhat.com>
434
cb1238c0
NC
435 * Makefile.am (ELF_DEPS): Add a dependency upon
436 scripttempl/DWARF.sc.
437 (ELF_GEN_DEPS): Likewise.
ec05a26b 438 (emmo.c): Likewise.
cb1238c0
NC
439 * Makefile.in: Regenerate.
440
ceb0a680
NC
441 * scripttempl/armbpabi.sc: Replace DWARF sections with an
442 inclusion of DWARF.sc.
443 * scripttempl/avr.sc: Likewise.
444 * scripttempl/elf.sc: Likewise.
445 * scripttempl/elf32cr16.sc: Likewise.
446 * scripttempl/elf32crx.sc: Likewise.
447 * scripttempl/elf32msp430.sc: Likewise.
448 * scripttempl/elf32msp430_3.sc: Likewise.
449 * scripttempl/elf32sh-symbian.sc: Likewise.
450 * scripttempl/elf64hppa.sc: Likewise.
451 * scripttempl/elf_chaos.sc: Likewise.
452 * scripttempl/elfd10v.sc: Likewise.
453 * scripttempl/elfd30v.sc: Likewise.
454 * scripttempl/elfi370.sc: Likewise.
455 * scripttempl/elfm68hc11.sc: Likewise.
456 * scripttempl/elfm68hc12.sc: Likewise.
457 * scripttempl/elfxgate.sc: Likewise.
458 * scripttempl/elfxtensa.sc: Likewise.
459 * scripttempl/epiphany_4x4.sc: Likewise.
460 * scripttempl/i386beos.sc: Likewise.
461 * scripttempl/i386go32.sc: Likewise.
462 * scripttempl/ia64vms.sc: Likewise.
463 * scripttempl/ip2k.sc: Likewise.
464 * scripttempl/iq2000.sc: Likewise.
465 * scripttempl/mep.sc: Likewise.
466 * scripttempl/mmo.sc: Likewise.
467 * scripttempl/v850.sc: Likewise.
468 * scripttempl/v850_rh850.sc: Likewise.
469 * scripttempl/xstormy16.sc: Likewise.
470 * scripttempl/DWARF.sc: New.
471
8ff4c1f3
AM
4722013-04-04 Alan Modra <amodra@gmail.com>
473
474 * ldlang.c (load_symbols): Report "error adding symbols" on
475 bfd_link_add_symbols failure.
476 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
477 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
478 (gld${EMULATION_NAME}_try_needed): Likewise.
479
861319c9
NC
4802013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
481
482 PR ld/13812
483 * scripttempl/avr.sc: Place trampolines before .progmem section.
484
676ee43b
KT
4852013-03-25 Kai Tietz <ktietz@redhat.com>
486
487 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
488
81f5558e
NC
4892013-03-21 Michael Schewe <michael.schewe@gmx.net>
490
491 * ld.texinfo (H8/300): Add description of relaxation of
492 mov @(disp:32,ERx) to mov @(disp:16,ERx).
493
31fd86f1
KT
4942013-03-21 Kai Tietz <ktietz@redhat.com>
495
496 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
497 generated C++-symbols as stdcall/fastcall.
498
ffa9430d
AM
4992013-03-18 Alan Modra <amodra@gmail.com>
500
501 * ld.texinfo (--as-needed): Update.
502
6f2ef5f5
JJ
5032013-03-14 Jakub Jelinek <jakub@redhat.com>
504
505 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
506 aarch64linux* emulations.
507
3ab6909a
AM
5082013-03-07 Alan Modra <amodra@gmail.com>
509
510 * ldfile.c (ldfile_open_command_file_1): Return after einfo
511 to avoid warning.
512
a07ee50e
CV
5132013-03-05 Corinna Vinschen <vinschen@redhat.com>
514
515 * configure.host: Add x86_64-*-cygwin* as valid host.
516 * configure.tgt: Add x86_64-*-cygwin* as valid target.
517 * emultempl/pep.em: Handle different requirements for Cygwin in terms
518 of start addresses for executables and DLLs, based on memory model in
519 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
520
13762d2e
AM
5212013-03-05 Alan Modra <amodra@gmail.com>
522
523 PR ld/15222
524 * ldlang.c (lang_size_sections_1): When given an lma_region align
525 LMA as per VMA only if lma_region is the same as region.
526
727f7031
NC
5272013-02-27 Nick Clifton <nickc@redhat.com>
528
529 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
530 Add alignment of .bss section.
531 * scripttempl/elf32msp430_3.sc: Likewise.
532
56dd11f0
NC
5332013-02-26 Nick Clifton <nickc@redhat.com>
534
535 PR ld/15188
536 * ld.texinfo: Fix typos.
537
7c00cf68
AM
5382013-02-21 Alan Modra <amodra@gmail.com>
539
540 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
541 .init_array/.fini_array input sections before .ctors/.dtors input
542 sections.
543 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
544
c0355132
AM
5452013-02-21 Alan Modra <amodra@gmail.com>
546
547 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
548 for elf_tdata changes.
549
12bd6957
AM
5502013-02-21 Alan Modra <amodra@gmail.com>
551
552 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
553 accessor macros.
554
a582ed93
AM
5552013-02-20 Alan Modra <amodra@gmail.com>
556
557 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
558 * Makefile.in: Regenerate.
559
46fed7f7
SL
5602013-02-19 Sandra Loosemore <sandra@codesourcery.com>
561
562 PR ld/15146
563 * plugin.c (plugin_notice): Add null check before dereferencing
564 pointer.
565
30e8ee25
AM
5662013-02-19 Alan Modra <amodra@gmail.com>
567
568 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
569 Replace all info->emit_note_gnu_build_id refs.
570 (id_note_section_size): Rename from
571 gld${EMULATION_NAME}_id_note_section_size.
572 (struct build_id_info): Delete.
573 (write_build_id): Rename from
574 gld${EMULATION_NAME}_write_build_id_section.
575 Update elf_tdata usage. Style, formatting.
576 (setup_build_id): New function.
577 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
578
3d5bef4c
L
5792013-02-16 H.J. Lu <hongjiu.lu@intel.com>
580
581 PR ld/15146
582 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
583 the real one.
584
4a2b04a7
L
5852013-02-16 H.J. Lu <hongjiu.lu@intel.com>
586
587 PR ld/15141
588 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
589
b138e9bf
KT
5902013-02-15 Kai Tietz <ktietz@redhat.com>
591
592 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
593 (.pdata): Merge .pdata* into .pdata section.
594
61087d8c
AM
5952013-02-11 Alan Modra <amodra@gmail.com>
596
597 * ldlang.c (get_init_priority): Comment typo.
598 (lang_finish): Free link_info.hash and lang_definedness_table.
599 (lang_end): Delete lang_definedness_table comment.
600
a1b8d843
AM
6012013-02-11 Alan Modra <amodra@gmail.com>
602
603 PR ld/15130
604 * ld.texinfo (-rpath-link): Typo fix.
605
20855e86
NC
6062013-02-08 Markos Chandras <markos.chandras@imgtec.com>
607
608 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
609 rather than userdata->flags.just_syms.
610
36591ba1 6112013-02-06 Sandra Loosemore <sandra@codesourcery.com>
4a2b04a7 612 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
613
614 Based on patches from Altera Corporation.
615
616 * Makefile.am (enios2elf.c): New rule.
617 * Makefile.in: Regenerated.
618 * configure.tgt: Add case for nios2*-*-*.
619 * emulparams/nios2elf.sh: New file.
620 * NEWS: Note Altera Nios II support.
621
4d4ef6fd
AM
6222013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
623
624 * emultempl/avrelf.em (avr_elf_before_parse): New function.
625 (LDEMUL_BEFORE_PARSE): Define.
626
eeaa4577
AM
6272013-02-06 Alan Modra <amodra@gmail.com>
628
629 PR ld/15096
630 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
631 * emultempl/alphaelf.em: Revert 2013-02-04.
632 * emultempl/cr16elf.em: Likewise.
633 * emultempl/crxelf.em: Likewise.
634 * emultempl/hppaelf.em: Likewise.
635 * emultempl/ia64elf.em: Likewise.
636 * emultempl/mipself.em: Likewise.
637 * NEWS: Revert 2013-01-21.
638
663fa543
L
6392013-02-04 H.J. Lu <hongjiu.lu@intel.com>
640
641 PR ld/15096
642 * emultempl/alphaelf.em (alpha_after_parse): Call
643 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
644 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
645 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
646 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
647 * emultempl/mipself.em (mips_after_parse): Likewise.
648
649 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
650 to ...
651 (gld_${EMULATION_NAME}_after_parse): This. Call
652 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
653 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
654
655 * emultempl/elf32.em (new_dtags_set): New variable.
656 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
657 here.
658 (gld${EMULATION_NAME}_after_parse): New function.
659 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
660 with gld${EMULATION_NAME}_after_parse.
661 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
662 when setting link_info.new_dtags.
663
0a4e6638
KT
6642013-01-25 Kai Tietz <ktietz@redhat.com>
665
666 * deffilep.y (def_image_name): Adjust type of base-address
667 argument.
668 (%union): Add new type bfd_vma as vma.
669 (VMA): New rule.
670 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
671 (def_file_print): Use bfd's fprintf_vma to output base-address.
672
78c8d46c
NC
6732013-01-24 Nick Clifton <nickc@redhat.com>
674
675 * NEWS: Mention support for V850E3V5 architecture.
676
f5c66ab0
NC
6772013-01-23 Martin Koegler <martin.koegler@chello.at>
678
679 PR ld/15041
680 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
681 (.xdata): Similarly.
682 (.debug_frame): Similarly.
683
b176ded1
NC
6842013-01-23 Georg-Johann Lay <avr@gjlay.de>
685
686 PR ld/15037
687 * scripttempl/avr.sc (.eeprom): Keep it.
688
a6dea726
AM
6892013-01-23 Leif Ekblad <leif@rdos.net>
690
691 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
692 (eelf64rdos.c): New rule.
693 * emulparams/elf64rdos.sh: New file.
694 * configure.tgt (x86_64-*-rdos*): Use above.
695 * Makefile.in: Regenerate.
696
f0fe23c2
RM
6972013-01-22 Roland McGrath <mcgrathr@google.com>
698
699 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
700 new_dtags to TRUE for *-*-nacl* targets.
701
7022013-01-21 Mike Frysinger <vapier@gentoo.org>
822b8bf4
MF
703
704 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
705 link_info.new_dtags to TRUE for linux/gnu targets.
706 * NEWS: Mention new dtags default.
707
6738cadc
L
7082013-01-19 H.J. Lu <hongjiu.lu@intel.com>
709
710 * Makefile.am (HOSTING_SCRT0): New.
711
712 * configure.host (HOSTING_SCRT0): New. Used for PIE.
713
714 * configure.in (HOSTING_SCRT0): New AC_SUBST.
715
716 * Makefile.in: Regenerated.
717 * configure: Likewise.
718
b1b00fcc
MF
7192013-01-18 Mike Frysinger <vapier@gentoo.org>
720
721 * NEWS: Mention change in behavior with --enable-new-dtags.
722 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
723
0d705e9f
AM
7242013-01-14 Leif Ekblad <leif@rdos.net>
725 Alan Modra <amodra@gmail.com>
726
727 * ld.texinfo (-Tldata-segment): Describe.
728 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
729 * lexsup.c (ld_options): Add -Tldata-segment.
730 (parse_args): Handle OPTION_TLDATA_SEGMENT.
731 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
732
e4492aa0
L
7332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
734
735 * deffilep.y: Remove trailing white spaces.
736 * elf-hints-local.h: Likewise.
737 * ldexp.c: Likewise.
738 * ldlang.h: Likewise.
739 * ldmisc.c: Likewise.
740 * ldwrite.c: Likewise.
741 * pe-dll.c: Likewise.
742 * emulparams/criself.sh: Likewise.
743 * emulparams/crislinux.sh: Likewise.
744 * emulparams/elf32_tic6x_le.sh: Likewise.
745 * emulparams/elf32bmipn32-defs.sh: Likewise.
746 * emulparams/elf32mb_linux.sh: Likewise.
747 * emulparams/elf32mep.sh: Likewise.
748 * emulparams/elf32microblaze.sh: Likewise.
749 * emulparams/elf32ppc.sh: Likewise.
750 * emulparams/elf64_s390.sh: Likewise.
751 * emulparams/elf64alpha.sh: Likewise.
752 * emulparams/elf_s390.sh: Likewise.
753 * emulparams/elf_x86_64.sh: Likewise.
754 * emulparams/tic80coff.sh: Likewise.
755 * emultempl/aix.em: Likewise.
756 * emultempl/avrelf.em: Likewise.
757 * emultempl/cr16elf.em: Likewise.
758 * emultempl/pe.em: Likewise.
759 * emultempl/pep.em: Likewise.
760 * emultempl/spuelf.em: Likewise.
761 * emultempl/tic6xdsbt.em: Likewise.
762
a3c62988
NC
7632013-01-10 Will Newton <will.newton@imgtec.com>
764
765 * Makefile.am: Add Meta.
766 * Makefile.in: Regenerate.
767 * configure.tgt: Add Meta.
768 * emulparams/elf32metag.sh: New file.
769 * emultempl/metagelf.em: New file.
770
134960cc
AM
7712013-01-09 Alan Modra <amodra@gmail.com>
772
773 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
774 * emulparams/elf32_x86_64.sh: Likewise.
775 * emulparams/elf_k1om.sh: Likewise.
776 * emulparams/elf_l1om.sh: Likewise.
777 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
778 OTHER_BSS_SECTIONS. Substitute in script.
779
34d56033
AM
7802013-01-08 Leif Ekblad <leif@rdos.net>
781
782 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
783
d5c8b1f8
AM
7842013-01-08 Alan Modra <amodra@gmail.com>
785
786 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
98e38512 787 "name" param with a bfd_link_needed_list pointer. Update caller.
d5c8b1f8
AM
788 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
789
cc382d46
AM
7902013-01-08 Alan Modra <amodra@gmail.com>
791
792 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
793 * Makefile.in: Regenerate.
794
add24320
L
7952013-01-07 H.J. Lu <hongjiu.lu@intel.com>
796
797 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
798 compatibility.
799
7ca01ed9
NC
8002013-01-07 Patrice Dumas <pertusus@free.fr>
801
802 * ld.texinfo: Replace @ with @@ when it is part of the text.
803 Correct ordering of M68HC11 entry.
804
e407c74b
NC
8052013-01-04 Juergen Urban <JuergenUrban@gmx.de>
806
807 * configure.tgt: Support ELF files for Sony Playstation 2 (for
808 ps2dev and ps2sdk).
809 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
810 Playstation 2 ELF files using MIPS ABI n32.
811 * emulparams/elf32lr5900.sh: Create linker script for Sony
812 Playstation 2 ELF files using MIPS ABI o32.
813 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
814 files.
815
62658407
L
8162013-01-02 H.J. Lu <hongjiu.lu@intel.com>
817
818 * ldver.c (ldversion): Update copyright year to 2013.
819
4e5f3f9d 820For older changes see ChangeLog-2012
252b5132 821\f
4e5f3f9d 822Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
823
824Copying and distribution of this file, with or without modification,
825are permitted in any medium without royalty provided the copyright
826notice and this notice are preserved.
827
252b5132
RH
828Local Variables:
829mode: change-log
830left-margin: 8
831fill-column: 74
832version-control: never
833End:
This page took 0.672165 seconds and 4 git commands to generate.