1 2013-12-13 Kuan-Lin Chen <kuanlinchentw@gmail.com>
2 Wei-Cheng Wang <cole945@gmail.com>
3 Hui-Wen Ni <sabrinanitw@gmail.com>
5 * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target.
6 * Makefile.in: Regenerate.
7 * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*,
8 nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*.
9 * emulparams/nds32belf.sh: New file for nds32.
10 * emulparams/nds32belf_linux.sh: Likewise.
11 * emulparams/nds32belf16m.sh: Likewise.
12 * emulparams/nds32elf.sh: Likewise.
13 * emulparams/nds32elf_linux.sh: Likewise.
14 * emulparams/nds32elf16m.sh: Likewise.
15 * emultempl/nds32elf.em: Likewise.
16 * scripttempl/nds32elf.sc}: Likewise.
17 * gen-doc.texi: Set NDS32.
18 * ld.texinfo: Set NDS32.
19 * NEWS: Announce Andes nds32 support.
21 2013-12-11 H.J. Lu <hongjiu.lu@intel.com>
23 * ld.texinfo: Remove shared object from -Ttext-segment.
25 2013-12-10 Roland McGrath <mcgrathr@google.com>
27 * Makefile.am (install-exec-local): Prefix libtool invocation with
28 $(INSTALL_PROGRAM_ENV).
29 * Makefile.in: Regenerate.
31 2013-12-07 Mike Frysinger <vapier@gentoo.org>
33 * ChangeLog-2008: Remove +x file mode.
34 * emulparams/bfin.sh: Likewise.
35 * emulparams/elf32bmipn32.sh: Likewise.
36 * emulparams/elf32fr30.sh: Likewise.
37 * emulparams/elf32frv.sh: Likewise.
38 * emulparams/elf32iq10.sh: Likewise.
39 * emulparams/elf32iq2000.sh: Likewise.
40 * emulparams/elf32mep.sh: Likewise.
41 * emulparams/elf32openrisc.sh: Likewise.
42 * emulparams/elf64bmip.sh: Likewise.
43 * emulparams/elf64hppa.sh: Likewise.
44 * emulparams/i386beos.sh: Likewise.
46 2013-11-26 H.J. Lu <hongjiu.lu@intel.com>
49 * Makefile.am (HOSTING_SLIBS): New.
50 * configure.host (HOSTING_SLIBS): New. Used for PIE.
51 * configure.in (HOSTING_SLIBS): New AC_SUBST.
52 * Makefile.in: Regenerated.
53 * configure: Likewise.
55 2013-11-22 Cory Fields <cory@coryfields.com>
57 * pe-dll.c (fill_edata): Only use a real timestamp if
58 --insert-timestamp was used.
59 * emultempl/pe.em: Add the --insert-timestamp option.
60 * emultempl/pep.em: Likewise for 64bit.
61 * ld.texinfo: Document the --insert-timestamp option.
63 2013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
65 * scripttempl/avr.sc: Set .data section's LMA to next available
66 address in text region.
68 2013-11-21 Andrew Pinski <apinski@cavium.com>
70 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
71 and eaarch64linux32b.c
72 (eaarch64linux32.c): New target.
73 (eaarch64linux32b.c): Likewise.
74 * Makefile.in: Regenerate.
75 * configure.tgt (aarch64_be-*-linux*): Add
76 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
77 (aarch64-*-linux*): Likewise.
78 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
79 * emulparams/aarch64linux32.sh: New file.
80 * emulparams/aarch64linux32b.sh: New file.
82 2013-11-21 Andrew Pinski <apinski@cavium.com>
84 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
85 into targ_extra_libpath.
86 (aarch64-*-linux*): Likewise.
88 2013-11-21 Nick Clifton <nickc@redhat.com>
91 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
92 newly allocated idata5 block.
94 2013-11-20 Nick Clifton <nickc@redhat.com>
96 * scripttempl/elf32msp430.sc (.data): Set the based on the next
97 free location in the text memory region, not a computation based
98 upon the size of the text section. Orphaned sections or other
99 linker scripts might insert new sections between the .text section
100 and the .data section.
101 * scripttempl/elf32msp430_3.sc (.data): Likewise.
103 2013-11-19 Roland McGrath <mcgrathr@google.com>
104 Alan Modra <amodra@gmail.com>
106 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
107 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
108 hidden. Instead, just do it directly here, and only if it was
109 referenced but not defined.
111 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
113 * emulparams/nios2linux.sh: New emulation file.
114 * configure.tgt: Add nios2*-*-linux* emulation case.
115 * Makefile.am (enios2linux.c): New emulation entry.
116 * Makefile.in: Regenerate.
118 2013-10-14 Nick Clifton <nickc@redhat.com>
120 * emultempl/aix.em (_read_file): Close file at end of function.
122 2013-10-10 Roland McGrath <mcgrathr@google.com>
124 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
125 It silences some compilers' warnings and is much less bizarre to read.
127 2013-10-09 Roland McGrath <mcgrathr@google.com>
129 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
130 rather than a dummy assignment for unused parameter.
131 * plugin.c (get_input_file, release_input_file): Likewise.
133 2013-10-09 Nick Clifton <nickc@redhat.com>
136 * ldmain.c (add_keepsyms_file): Close file at end of function.
138 2013-10-03 Will Newton <will.newton@linaro.org>
140 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
141 * emulparams/aarch64elf32.sh: Likewise.
143 2013-09-30 Nick Clifton <nickc@redhat.com>
145 * emulparams/msp430all.sh: Update ARCH names.
147 2013-09-24 Alan Modra <amodra@gmail.com>
149 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
150 and cross-endian values.
151 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
152 and unset unwanted variables.
154 2013-09-24 Alan Modra <amodra@gmail.com>
156 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
157 sysrooted. Also, don't always add tooldir when non-sysrooted.
158 Instead add both when native and tooldir also when TOOL_DIR is
159 defined. Always prepend '=' to paths when sysrooted. Always
160 put paths with LIBPATH_SUFFIX first in search order.
162 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
164 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
165 * Makefile.in: Regenerate.
167 2013-09-20 Alan Modra <amodra@gmail.com>
169 * configure: Regenerate.
171 2013-09-18 Tristan Gingold <gingold@adacore.com>
173 * NEWS: Add marker for 2.24.
175 2013-09-17 Nick Clifton <nickc@redhat.com>
178 * deffilep.y (def_file_add_directive): Avoid readin past end of
181 2013-08-28 Nick Clifton <nickc@redhat.com>
184 * ld.texinfo: Fix uses of MB abbreviation.
186 2013-08-26 Roland McGrath <mcgrathr@google.com>
188 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
189 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
190 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
192 2013-08-23 Roland McGrath <mcgrathr@google.com>
194 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
195 SIZEOF_HEADERS here; elf.sc does it already.
197 2013-08-23 Nick Clifton <nickc@redhat.com>
200 * scripttempl/avr.sc: Do not include gc'able sections into general
201 sections during relocatable links.
203 2013-08-22 Christian Franke <franke@computer.org>
205 * emultempl/pe.em: Add --disable-large-address-aware option.
206 * ld.texinfo (--disable-large-address-aware): Add documentation.
208 2013-08-14 Clemens Lang <clemens.lang@fau.de>
210 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
213 * NEWS: Mention the new feature.
214 * ld.texinfo: Document the new feature.
216 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
218 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
219 * ldlang.c: Likewise.
220 * ldlang.h: Likewise.
223 * ld.texinfo: Document new feature.
224 * NEWS: Mention new feature.
226 2013-07-18 Roland McGrath <mcgrathr@google.com>
228 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
229 argument ALIGNMENT_POWER, use it instead of constant 3.
231 2013-07-08 Jeff Law <law@redhat.com>
233 * scripttempl/elf.sc: Handle function names and other text after
236 2013-07-08 Tristan Gingold <gingold@adacore.com>
238 * scripttempl/ia64vms.sc: Add support of per data and per function
241 2013-07-01 Alan Modra <amodra@gmail.com>
243 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
244 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
245 (gld${EMULATION_NAME}_after_allocation): Likewise.
247 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
249 * emulparams/aarch64elf32.sh: New file.
251 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
253 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
254 (eaarch64elf32b.c): New dependency and rule.
255 * Makefile.in: Re-generated.
256 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
257 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
258 * emulparams/aarch64elf32b.sh: New file.
260 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
262 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
263 (eaarch64elf32.c): New dependency and rule.
264 * Makefile.in: Re-generated.
265 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
266 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
267 * emulparams/aarch64elf32.sh: New file.
269 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
271 * emultempl/mipself.em (insn32): New variable.
272 (mips_create_output_section_statements): Handle insn32 mode.
273 (PARSE_AND_LIST_PROLOGUE): New macro.
274 (PARSE_AND_LIST_LONGOPTS): Likewise.
275 (PARSE_AND_LIST_OPTIONS): Likewise.
277 * gen-doc.texi: Set MIPS.
278 * ld.texinfo: Likewise.
279 (Options specific to MIPS targets): New section.
280 (ld and MIPS family): New node.
281 (Top, Machine Dependent): List the new node.
283 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
285 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
286 as close to .plt as possible.
287 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
288 $PLT_NEXT_DATA variables.
290 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
292 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
293 (ALL_64_EMULATION_SOURCES): ...here.
294 * Makefile.in: Regenerate.
296 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
298 * NEWS: Document the removal of MIPS ECOFF targets.
299 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
300 MIPS ECOFF as an example of a target that supports small data.
301 * ldmain.c (g_switch_value): Likewise.
302 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
303 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
304 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
305 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
306 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
307 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
308 (emipslnews.c, emipspe.c): Delete rules.
309 * Makefile.in: Regenerate.
310 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
311 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
312 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
313 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
314 has now been removed.
315 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
317 2013-06-19 Will Newton <will.newton@linaro.org>
319 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
321 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
323 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
325 2013-06-12 Nick Clifton <nickc@redhat.com>
327 * ldcref.c (output_one_cref): Place common definitions after
328 ordinary definitions but before references.
330 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
333 * ld.texinfo (Source Code Reference): Fix typos.
335 2013-06-07 Will Newton <will.newton@linaro.org>
337 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
339 2013-06-07 Nick Clifton <nickc@redhat.com>
341 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
342 option must appear before the SEGMENT_START is encountered in
343 order for the default value to be overridden.
345 2013-05-03 Alan Modra <amodra@gmail.com>
348 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
349 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
351 2013-05-03 Alan Modra <amodra@gmail.com>
353 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
354 Only call lang_for_each_statement if an ELF hash table is used.
356 2013-05-02 Nick Clifton <nickc@redhat.com>
358 * Makefile.am: Add emsp430X.c
359 * Makefine.in: Regenerate.
360 * configure.tgt (msp430): Add msp430X emulation.
361 * ldmain.c (multiple_definition): Only disable relaxation if it
362 was enabled by the user.
363 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
364 * emulparams/msp430all.sh: Add support for MSP430X.
365 * emultempl/generic.em: (before_parse): Enable relaxation for the
367 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
369 * scripttempl/msp430_3.sc: Likewise.
370 * NEWS: Mention support for MSP430X.
372 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
374 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
375 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
376 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
378 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
380 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
381 Use is_elf_hash_table rather than a handcoded condition.
383 2013-04-30 Nick Clifton <nickc@redhat.com>
385 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
386 are sorted by descending order of alignment.
388 2013-04-29 Nick Clifton <nickc@redhat.com>
390 * scripttempl/DWARF.sc: Add support for .debug_line.* and
393 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
395 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
398 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
400 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
401 * scripttempl/avr.sc: Likewise.
402 * scripttempl/elf.sc: Likewise.
403 * scripttempl/elf32cr16.sc: Likewise.
404 * scripttempl/elf32crx.sc: Likewise.
405 * scripttempl/elf32msp430.sc: Likewise.
406 * scripttempl/elf32msp430_3.sc: Likewise.
407 * scripttempl/elf32sh-symbian.sc: Likewise.
408 * scripttempl/elf64hppa.sc: Likewise.
409 * scripttempl/elf_chaos.sc: Likewise.
410 * scripttempl/elfd10v.sc: Likewise.
411 * scripttempl/elfd30v.sc: Likewise.
412 * scripttempl/elfi370.sc: Likewise.
413 * scripttempl/elfm68hc11.sc: Likewise.
414 * scripttempl/elfm68hc12.sc: Likewise.
415 * scripttempl/elfxgate.sc: Likewise.
416 * scripttempl/elfxtensa.sc: Likewise.
417 * scripttempl/epiphany_4x4.sc: Likewise.
418 * scripttempl/i386beos.sc: Likewise.
419 * scripttempl/i386go32.sc: Likewise.
420 * scripttempl/ia64vms.sc: Likewise.
421 * scripttempl/ip2k.sc: Likewise.
422 * scripttempl/iq2000.sc: Likewise.
423 * scripttempl/mep.sc: Likewise.
424 * scripttempl/mmo.sc: Likewise.
425 * scripttempl/v850.sc: Likewise.
426 * scripttempl/v850_rh850.sc: Likewise.
427 * scripttempl/xstormy16.sc: Likewise.
429 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
431 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
433 2013-04-26 Alan Modra <amodra@gmail.com>
435 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
436 unresolved_syms_in_shared_libs rather than !executable to
437 determine whether to load DT_NEEDED libraries.
439 2013-04-25 Alan Modra <amodra@gmail.com>
441 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
442 (eelf32lppclinux.c): New rule.
443 * Makefile.in: Regenerate.
444 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
445 with corresponding little-endian targets.
446 * emulparams/elf32lppc.sh: Update comment.
447 * emulparams/elf32lppclinux.sh: New.
449 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
451 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
453 (targ_extra_libpath): Likewise.
454 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
456 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
458 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
459 * emulparams/aarch64linux.sh: Ditto.
460 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
461 Replace elf64 with elf${ELFSIZE}.
462 (elf64_aarch64_add_stub_section): Likewise.
463 (build_section_lists): Likewise.
464 (gld${EMULATION_NAME}_after_allocation): Likewise.
465 (gld${EMULATION_NAME}_finish): Likewise.
466 (aarch64_elf_create_output_section_statements): Likewise.
468 2013-04-24 Nick Clifton <nickc@redhat.com>
471 * scripttempl/avr.sc: Add .note.gnu.build-id section.
473 2013-04-22 Alan Modra <amodra@gmail.com>
475 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
476 Check return from ppc64_elf_init_stub_bfd.
478 2013-04-15 Nick Clifton <nickc@redhat.com>
480 * Makefile.am (ELF_DEPS): Add a dependency upon
481 scripttempl/DWARF.sc.
482 (ELF_GEN_DEPS): Likewise.
484 * Makefile.in: Regenerate.
486 * scripttempl/armbpabi.sc: Replace DWARF sections with an
487 inclusion of DWARF.sc.
488 * scripttempl/avr.sc: Likewise.
489 * scripttempl/elf.sc: Likewise.
490 * scripttempl/elf32cr16.sc: Likewise.
491 * scripttempl/elf32crx.sc: Likewise.
492 * scripttempl/elf32msp430.sc: Likewise.
493 * scripttempl/elf32msp430_3.sc: Likewise.
494 * scripttempl/elf32sh-symbian.sc: Likewise.
495 * scripttempl/elf64hppa.sc: Likewise.
496 * scripttempl/elf_chaos.sc: Likewise.
497 * scripttempl/elfd10v.sc: Likewise.
498 * scripttempl/elfd30v.sc: Likewise.
499 * scripttempl/elfi370.sc: Likewise.
500 * scripttempl/elfm68hc11.sc: Likewise.
501 * scripttempl/elfm68hc12.sc: Likewise.
502 * scripttempl/elfxgate.sc: Likewise.
503 * scripttempl/elfxtensa.sc: Likewise.
504 * scripttempl/epiphany_4x4.sc: Likewise.
505 * scripttempl/i386beos.sc: Likewise.
506 * scripttempl/i386go32.sc: Likewise.
507 * scripttempl/ia64vms.sc: Likewise.
508 * scripttempl/ip2k.sc: Likewise.
509 * scripttempl/iq2000.sc: Likewise.
510 * scripttempl/mep.sc: Likewise.
511 * scripttempl/mmo.sc: Likewise.
512 * scripttempl/v850.sc: Likewise.
513 * scripttempl/v850_rh850.sc: Likewise.
514 * scripttempl/xstormy16.sc: Likewise.
515 * scripttempl/DWARF.sc: New.
517 2013-04-04 Alan Modra <amodra@gmail.com>
519 * ldlang.c (load_symbols): Report "error adding symbols" on
520 bfd_link_add_symbols failure.
521 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
522 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
523 (gld${EMULATION_NAME}_try_needed): Likewise.
525 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
528 * scripttempl/avr.sc: Place trampolines before .progmem section.
530 2013-03-25 Kai Tietz <ktietz@redhat.com>
532 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
534 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
536 * ld.texinfo (H8/300): Add description of relaxation of
537 mov @(disp:32,ERx) to mov @(disp:16,ERx).
539 2013-03-21 Kai Tietz <ktietz@redhat.com>
541 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
542 generated C++-symbols as stdcall/fastcall.
544 2013-03-18 Alan Modra <amodra@gmail.com>
546 * ld.texinfo (--as-needed): Update.
548 2013-03-14 Jakub Jelinek <jakub@redhat.com>
550 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
551 aarch64linux* emulations.
553 2013-03-07 Alan Modra <amodra@gmail.com>
555 * ldfile.c (ldfile_open_command_file_1): Return after einfo
558 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
560 * configure.host: Add x86_64-*-cygwin* as valid host.
561 * configure.tgt: Add x86_64-*-cygwin* as valid target.
562 * emultempl/pep.em: Handle different requirements for Cygwin in terms
563 of start addresses for executables and DLLs, based on memory model in
564 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
566 2013-03-05 Alan Modra <amodra@gmail.com>
569 * ldlang.c (lang_size_sections_1): When given an lma_region align
570 LMA as per VMA only if lma_region is the same as region.
572 2013-02-27 Nick Clifton <nickc@redhat.com>
574 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
575 Add alignment of .bss section.
576 * scripttempl/elf32msp430_3.sc: Likewise.
578 2013-02-26 Nick Clifton <nickc@redhat.com>
581 * ld.texinfo: Fix typos.
583 2013-02-21 Alan Modra <amodra@gmail.com>
585 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
586 .init_array/.fini_array input sections before .ctors/.dtors input
588 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
590 2013-02-21 Alan Modra <amodra@gmail.com>
592 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
593 for elf_tdata changes.
595 2013-02-21 Alan Modra <amodra@gmail.com>
597 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
600 2013-02-20 Alan Modra <amodra@gmail.com>
602 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
603 * Makefile.in: Regenerate.
605 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
608 * plugin.c (plugin_notice): Add null check before dereferencing
611 2013-02-19 Alan Modra <amodra@gmail.com>
613 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
614 Replace all info->emit_note_gnu_build_id refs.
615 (id_note_section_size): Rename from
616 gld${EMULATION_NAME}_id_note_section_size.
617 (struct build_id_info): Delete.
618 (write_build_id): Rename from
619 gld${EMULATION_NAME}_write_build_id_section.
620 Update elf_tdata usage. Style, formatting.
621 (setup_build_id): New function.
622 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
624 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
627 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
630 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
633 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
635 2013-02-15 Kai Tietz <ktietz@redhat.com>
637 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
638 (.pdata): Merge .pdata* into .pdata section.
640 2013-02-11 Alan Modra <amodra@gmail.com>
642 * ldlang.c (get_init_priority): Comment typo.
643 (lang_finish): Free link_info.hash and lang_definedness_table.
644 (lang_end): Delete lang_definedness_table comment.
646 2013-02-11 Alan Modra <amodra@gmail.com>
649 * ld.texinfo (-rpath-link): Typo fix.
651 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
653 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
654 rather than userdata->flags.just_syms.
656 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
657 Andrew Jenner <andrew@codesourcery.com>
659 Based on patches from Altera Corporation.
661 * Makefile.am (enios2elf.c): New rule.
662 * Makefile.in: Regenerated.
663 * configure.tgt: Add case for nios2*-*-*.
664 * emulparams/nios2elf.sh: New file.
665 * NEWS: Note Altera Nios II support.
667 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
669 * emultempl/avrelf.em (avr_elf_before_parse): New function.
670 (LDEMUL_BEFORE_PARSE): Define.
672 2013-02-06 Alan Modra <amodra@gmail.com>
675 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
676 * emultempl/alphaelf.em: Revert 2013-02-04.
677 * emultempl/cr16elf.em: Likewise.
678 * emultempl/crxelf.em: Likewise.
679 * emultempl/hppaelf.em: Likewise.
680 * emultempl/ia64elf.em: Likewise.
681 * emultempl/mipself.em: Likewise.
682 * NEWS: Revert 2013-01-21.
684 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
687 * emultempl/alphaelf.em (alpha_after_parse): Call
688 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
689 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
690 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
691 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
692 * emultempl/mipself.em (mips_after_parse): Likewise.
694 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
696 (gld_${EMULATION_NAME}_after_parse): This. Call
697 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
698 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
700 * emultempl/elf32.em (new_dtags_set): New variable.
701 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
703 (gld${EMULATION_NAME}_after_parse): New function.
704 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
705 with gld${EMULATION_NAME}_after_parse.
706 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
707 when setting link_info.new_dtags.
709 2013-01-25 Kai Tietz <ktietz@redhat.com>
711 * deffilep.y (def_image_name): Adjust type of base-address
713 (%union): Add new type bfd_vma as vma.
715 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
716 (def_file_print): Use bfd's fprintf_vma to output base-address.
718 2013-01-24 Nick Clifton <nickc@redhat.com>
720 * NEWS: Mention support for V850E3V5 architecture.
722 2013-01-23 Martin Koegler <martin.koegler@chello.at>
725 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
727 (.debug_frame): Similarly.
729 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
732 * scripttempl/avr.sc (.eeprom): Keep it.
734 2013-01-23 Leif Ekblad <leif@rdos.net>
736 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
737 (eelf64rdos.c): New rule.
738 * emulparams/elf64rdos.sh: New file.
739 * configure.tgt (x86_64-*-rdos*): Use above.
740 * Makefile.in: Regenerate.
742 2013-01-22 Roland McGrath <mcgrathr@google.com>
744 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
745 new_dtags to TRUE for *-*-nacl* targets.
747 2013-01-21 Mike Frysinger <vapier@gentoo.org>
749 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
750 link_info.new_dtags to TRUE for linux/gnu targets.
751 * NEWS: Mention new dtags default.
753 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
755 * Makefile.am (HOSTING_SCRT0): New.
757 * configure.host (HOSTING_SCRT0): New. Used for PIE.
759 * configure.in (HOSTING_SCRT0): New AC_SUBST.
761 * Makefile.in: Regenerated.
762 * configure: Likewise.
764 2013-01-18 Mike Frysinger <vapier@gentoo.org>
766 * NEWS: Mention change in behavior with --enable-new-dtags.
767 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
769 2013-01-14 Leif Ekblad <leif@rdos.net>
770 Alan Modra <amodra@gmail.com>
772 * ld.texinfo (-Tldata-segment): Describe.
773 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
774 * lexsup.c (ld_options): Add -Tldata-segment.
775 (parse_args): Handle OPTION_TLDATA_SEGMENT.
776 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
778 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
780 * deffilep.y: Remove trailing white spaces.
781 * elf-hints-local.h: Likewise.
783 * ldlang.h: Likewise.
784 * ldmisc.c: Likewise.
785 * ldwrite.c: Likewise.
786 * pe-dll.c: Likewise.
787 * emulparams/criself.sh: Likewise.
788 * emulparams/crislinux.sh: Likewise.
789 * emulparams/elf32_tic6x_le.sh: Likewise.
790 * emulparams/elf32bmipn32-defs.sh: Likewise.
791 * emulparams/elf32mb_linux.sh: Likewise.
792 * emulparams/elf32mep.sh: Likewise.
793 * emulparams/elf32microblaze.sh: Likewise.
794 * emulparams/elf32ppc.sh: Likewise.
795 * emulparams/elf64_s390.sh: Likewise.
796 * emulparams/elf64alpha.sh: Likewise.
797 * emulparams/elf_s390.sh: Likewise.
798 * emulparams/elf_x86_64.sh: Likewise.
799 * emulparams/tic80coff.sh: Likewise.
800 * emultempl/aix.em: Likewise.
801 * emultempl/avrelf.em: Likewise.
802 * emultempl/cr16elf.em: Likewise.
803 * emultempl/pe.em: Likewise.
804 * emultempl/pep.em: Likewise.
805 * emultempl/spuelf.em: Likewise.
806 * emultempl/tic6xdsbt.em: Likewise.
808 2013-01-10 Will Newton <will.newton@imgtec.com>
810 * Makefile.am: Add Meta.
811 * Makefile.in: Regenerate.
812 * configure.tgt: Add Meta.
813 * emulparams/elf32metag.sh: New file.
814 * emultempl/metagelf.em: New file.
816 2013-01-09 Alan Modra <amodra@gmail.com>
818 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
819 * emulparams/elf32_x86_64.sh: Likewise.
820 * emulparams/elf_k1om.sh: Likewise.
821 * emulparams/elf_l1om.sh: Likewise.
822 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
823 OTHER_BSS_SECTIONS. Substitute in script.
825 2013-01-08 Leif Ekblad <leif@rdos.net>
827 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
829 2013-01-08 Alan Modra <amodra@gmail.com>
831 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
832 "name" param with a bfd_link_needed_list pointer. Update caller.
833 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
835 2013-01-08 Alan Modra <amodra@gmail.com>
837 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
838 * Makefile.in: Regenerate.
840 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
842 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
845 2013-01-07 Patrice Dumas <pertusus@free.fr>
847 * ld.texinfo: Replace @ with @@ when it is part of the text.
848 Correct ordering of M68HC11 entry.
850 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
852 * configure.tgt: Support ELF files for Sony Playstation 2 (for
854 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
855 Playstation 2 ELF files using MIPS ABI n32.
856 * emulparams/elf32lr5900.sh: Create linker script for Sony
857 Playstation 2 ELF files using MIPS ABI o32.
858 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
861 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
863 * ldver.c (ldversion): Update copyright year to 2013.
865 For older changes see ChangeLog-2012
867 Copyright (C) 2013 Free Software Foundation, Inc.
869 Copying and distribution of this file, with or without modification,
870 are permitted in any medium without royalty provided the copyright
871 notice and this notice are preserved.
877 version-control: never