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