1 2013-12-10 Roland McGrath <mcgrathr@google.com>
3 * Makefile.am (install-exec-local): Prefix libtool invocation with
4 $(INSTALL_PROGRAM_ENV).
5 * Makefile.in: Regenerate.
7 2013-12-07 Mike Frysinger <vapier@gentoo.org>
9 * ChangeLog-2008: Remove +x file mode.
10 * emulparams/bfin.sh: Likewise.
11 * emulparams/elf32bmipn32.sh: Likewise.
12 * emulparams/elf32fr30.sh: Likewise.
13 * emulparams/elf32frv.sh: Likewise.
14 * emulparams/elf32iq10.sh: Likewise.
15 * emulparams/elf32iq2000.sh: Likewise.
16 * emulparams/elf32mep.sh: Likewise.
17 * emulparams/elf32openrisc.sh: Likewise.
18 * emulparams/elf64bmip.sh: Likewise.
19 * emulparams/elf64hppa.sh: Likewise.
20 * emulparams/i386beos.sh: Likewise.
22 2013-11-26 H.J. Lu <hongjiu.lu@intel.com>
25 * Makefile.am (HOSTING_SLIBS): New.
26 * configure.host (HOSTING_SLIBS): New. Used for PIE.
27 * configure.in (HOSTING_SLIBS): New AC_SUBST.
28 * Makefile.in: Regenerated.
29 * configure: Likewise.
31 2013-11-22 Cory Fields <cory@coryfields.com>
33 * pe-dll.c (fill_edata): Only use a real timestamp if
34 --insert-timestamp was used.
35 * emultempl/pe.em: Add the --insert-timestamp option.
36 * emultempl/pep.em: Likewise for 64bit.
37 * ld.texinfo: Document the --insert-timestamp option.
39 2013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
41 * scripttempl/avr.sc: Set .data section's LMA to next available
42 address in text region.
44 2013-11-21 Andrew Pinski <apinski@cavium.com>
46 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
47 and eaarch64linux32b.c
48 (eaarch64linux32.c): New target.
49 (eaarch64linux32b.c): Likewise.
50 * Makefile.in: Regenerate.
51 * configure.tgt (aarch64_be-*-linux*): Add
52 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
53 (aarch64-*-linux*): Likewise.
54 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
55 * emulparams/aarch64linux32.sh: New file.
56 * emulparams/aarch64linux32b.sh: New file.
58 2013-11-21 Andrew Pinski <apinski@cavium.com>
60 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
61 into targ_extra_libpath.
62 (aarch64-*-linux*): Likewise.
64 2013-11-21 Nick Clifton <nickc@redhat.com>
67 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
68 newly allocated idata5 block.
70 2013-11-20 Nick Clifton <nickc@redhat.com>
72 * scripttempl/elf32msp430.sc (.data): Set the based on the next
73 free location in the text memory region, not a computation based
74 upon the size of the text section. Orphaned sections or other
75 linker scripts might insert new sections between the .text section
76 and the .data section.
77 * scripttempl/elf32msp430_3.sc (.data): Likewise.
79 2013-11-19 Roland McGrath <mcgrathr@google.com>
80 Alan Modra <amodra@gmail.com>
82 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
83 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
84 hidden. Instead, just do it directly here, and only if it was
85 referenced but not defined.
87 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
89 * emulparams/nios2linux.sh: New emulation file.
90 * configure.tgt: Add nios2*-*-linux* emulation case.
91 * Makefile.am (enios2linux.c): New emulation entry.
92 * Makefile.in: Regenerate.
94 2013-10-14 Nick Clifton <nickc@redhat.com>
96 * emultempl/aix.em (_read_file): Close file at end of function.
98 2013-10-10 Roland McGrath <mcgrathr@google.com>
100 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
101 It silences some compilers' warnings and is much less bizarre to read.
103 2013-10-09 Roland McGrath <mcgrathr@google.com>
105 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
106 rather than a dummy assignment for unused parameter.
107 * plugin.c (get_input_file, release_input_file): Likewise.
109 2013-10-09 Nick Clifton <nickc@redhat.com>
112 * ldmain.c (add_keepsyms_file): Close file at end of function.
114 2013-10-03 Will Newton <will.newton@linaro.org>
116 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
117 * emulparams/aarch64elf32.sh: Likewise.
119 2013-09-30 Nick Clifton <nickc@redhat.com>
121 * emulparams/msp430all.sh: Update ARCH names.
123 2013-09-24 Alan Modra <amodra@gmail.com>
125 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
126 and cross-endian values.
127 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
128 and unset unwanted variables.
130 2013-09-24 Alan Modra <amodra@gmail.com>
132 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
133 sysrooted. Also, don't always add tooldir when non-sysrooted.
134 Instead add both when native and tooldir also when TOOL_DIR is
135 defined. Always prepend '=' to paths when sysrooted. Always
136 put paths with LIBPATH_SUFFIX first in search order.
138 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
140 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
141 * Makefile.in: Regenerate.
143 2013-09-20 Alan Modra <amodra@gmail.com>
145 * configure: Regenerate.
147 2013-09-18 Tristan Gingold <gingold@adacore.com>
149 * NEWS: Add marker for 2.24.
151 2013-09-17 Nick Clifton <nickc@redhat.com>
154 * deffilep.y (def_file_add_directive): Avoid readin past end of
157 2013-08-28 Nick Clifton <nickc@redhat.com>
160 * ld.texinfo: Fix uses of MB abbreviation.
162 2013-08-26 Roland McGrath <mcgrathr@google.com>
164 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
165 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
166 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
168 2013-08-23 Roland McGrath <mcgrathr@google.com>
170 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
171 SIZEOF_HEADERS here; elf.sc does it already.
173 2013-08-23 Nick Clifton <nickc@redhat.com>
176 * scripttempl/avr.sc: Do not include gc'able sections into general
177 sections during relocatable links.
179 2013-08-22 Christian Franke <franke@computer.org>
181 * emultempl/pe.em: Add --disable-large-address-aware option.
182 * ld.texinfo (--disable-large-address-aware): Add documentation.
184 2013-08-14 Clemens Lang <clemens.lang@fau.de>
186 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
189 * NEWS: Mention the new feature.
190 * ld.texinfo: Document the new feature.
192 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
194 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
195 * ldlang.c: Likewise.
196 * ldlang.h: Likewise.
199 * ld.texinfo: Document new feature.
200 * NEWS: Mention new feature.
202 2013-07-18 Roland McGrath <mcgrathr@google.com>
204 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
205 argument ALIGNMENT_POWER, use it instead of constant 3.
207 2013-07-08 Jeff Law <law@redhat.com>
209 * scripttempl/elf.sc: Handle function names and other text after
212 2013-07-08 Tristan Gingold <gingold@adacore.com>
214 * scripttempl/ia64vms.sc: Add support of per data and per function
217 2013-07-01 Alan Modra <amodra@gmail.com>
219 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
220 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
221 (gld${EMULATION_NAME}_after_allocation): Likewise.
223 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
225 * emulparams/aarch64elf32.sh: New file.
227 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
229 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
230 (eaarch64elf32b.c): New dependency and rule.
231 * Makefile.in: Re-generated.
232 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
233 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
234 * emulparams/aarch64elf32b.sh: New file.
236 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
238 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
239 (eaarch64elf32.c): New dependency and rule.
240 * Makefile.in: Re-generated.
241 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
242 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
243 * emulparams/aarch64elf32.sh: New file.
245 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
247 * emultempl/mipself.em (insn32): New variable.
248 (mips_create_output_section_statements): Handle insn32 mode.
249 (PARSE_AND_LIST_PROLOGUE): New macro.
250 (PARSE_AND_LIST_LONGOPTS): Likewise.
251 (PARSE_AND_LIST_OPTIONS): Likewise.
253 * gen-doc.texi: Set MIPS.
254 * ld.texinfo: Likewise.
255 (Options specific to MIPS targets): New section.
256 (ld and MIPS family): New node.
257 (Top, Machine Dependent): List the new node.
259 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
261 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
262 as close to .plt as possible.
263 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
264 $PLT_NEXT_DATA variables.
266 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
268 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
269 (ALL_64_EMULATION_SOURCES): ...here.
270 * Makefile.in: Regenerate.
272 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
274 * NEWS: Document the removal of MIPS ECOFF targets.
275 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
276 MIPS ECOFF as an example of a target that supports small data.
277 * ldmain.c (g_switch_value): Likewise.
278 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
279 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
280 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
281 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
282 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
283 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
284 (emipslnews.c, emipspe.c): Delete rules.
285 * Makefile.in: Regenerate.
286 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
287 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
288 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
289 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
290 has now been removed.
291 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
293 2013-06-19 Will Newton <will.newton@linaro.org>
295 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
297 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
299 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
301 2013-06-12 Nick Clifton <nickc@redhat.com>
303 * ldcref.c (output_one_cref): Place common definitions after
304 ordinary definitions but before references.
306 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
309 * ld.texinfo (Source Code Reference): Fix typos.
311 2013-06-07 Will Newton <will.newton@linaro.org>
313 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
315 2013-06-07 Nick Clifton <nickc@redhat.com>
317 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
318 option must appear before the SEGMENT_START is encountered in
319 order for the default value to be overridden.
321 2013-05-03 Alan Modra <amodra@gmail.com>
324 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
325 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
327 2013-05-03 Alan Modra <amodra@gmail.com>
329 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
330 Only call lang_for_each_statement if an ELF hash table is used.
332 2013-05-02 Nick Clifton <nickc@redhat.com>
334 * Makefile.am: Add emsp430X.c
335 * Makefine.in: Regenerate.
336 * configure.tgt (msp430): Add msp430X emulation.
337 * ldmain.c (multiple_definition): Only disable relaxation if it
338 was enabled by the user.
339 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
340 * emulparams/msp430all.sh: Add support for MSP430X.
341 * emultempl/generic.em: (before_parse): Enable relaxation for the
343 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
345 * scripttempl/msp430_3.sc: Likewise.
346 * NEWS: Mention support for MSP430X.
348 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
350 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
351 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
352 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
354 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
356 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
357 Use is_elf_hash_table rather than a handcoded condition.
359 2013-04-30 Nick Clifton <nickc@redhat.com>
361 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
362 are sorted by descending order of alignment.
364 2013-04-29 Nick Clifton <nickc@redhat.com>
366 * scripttempl/DWARF.sc: Add support for .debug_line.* and
369 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
371 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
374 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
376 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
377 * scripttempl/avr.sc: Likewise.
378 * scripttempl/elf.sc: Likewise.
379 * scripttempl/elf32cr16.sc: Likewise.
380 * scripttempl/elf32crx.sc: Likewise.
381 * scripttempl/elf32msp430.sc: Likewise.
382 * scripttempl/elf32msp430_3.sc: Likewise.
383 * scripttempl/elf32sh-symbian.sc: Likewise.
384 * scripttempl/elf64hppa.sc: Likewise.
385 * scripttempl/elf_chaos.sc: Likewise.
386 * scripttempl/elfd10v.sc: Likewise.
387 * scripttempl/elfd30v.sc: Likewise.
388 * scripttempl/elfi370.sc: Likewise.
389 * scripttempl/elfm68hc11.sc: Likewise.
390 * scripttempl/elfm68hc12.sc: Likewise.
391 * scripttempl/elfxgate.sc: Likewise.
392 * scripttempl/elfxtensa.sc: Likewise.
393 * scripttempl/epiphany_4x4.sc: Likewise.
394 * scripttempl/i386beos.sc: Likewise.
395 * scripttempl/i386go32.sc: Likewise.
396 * scripttempl/ia64vms.sc: Likewise.
397 * scripttempl/ip2k.sc: Likewise.
398 * scripttempl/iq2000.sc: Likewise.
399 * scripttempl/mep.sc: Likewise.
400 * scripttempl/mmo.sc: Likewise.
401 * scripttempl/v850.sc: Likewise.
402 * scripttempl/v850_rh850.sc: Likewise.
403 * scripttempl/xstormy16.sc: Likewise.
405 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
407 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
409 2013-04-26 Alan Modra <amodra@gmail.com>
411 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
412 unresolved_syms_in_shared_libs rather than !executable to
413 determine whether to load DT_NEEDED libraries.
415 2013-04-25 Alan Modra <amodra@gmail.com>
417 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
418 (eelf32lppclinux.c): New rule.
419 * Makefile.in: Regenerate.
420 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
421 with corresponding little-endian targets.
422 * emulparams/elf32lppc.sh: Update comment.
423 * emulparams/elf32lppclinux.sh: New.
425 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
427 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
429 (targ_extra_libpath): Likewise.
430 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
432 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
434 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
435 * emulparams/aarch64linux.sh: Ditto.
436 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
437 Replace elf64 with elf${ELFSIZE}.
438 (elf64_aarch64_add_stub_section): Likewise.
439 (build_section_lists): Likewise.
440 (gld${EMULATION_NAME}_after_allocation): Likewise.
441 (gld${EMULATION_NAME}_finish): Likewise.
442 (aarch64_elf_create_output_section_statements): Likewise.
444 2013-04-24 Nick Clifton <nickc@redhat.com>
447 * scripttempl/avr.sc: Add .note.gnu.build-id section.
449 2013-04-22 Alan Modra <amodra@gmail.com>
451 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
452 Check return from ppc64_elf_init_stub_bfd.
454 2013-04-15 Nick Clifton <nickc@redhat.com>
456 * Makefile.am (ELF_DEPS): Add a dependency upon
457 scripttempl/DWARF.sc.
458 (ELF_GEN_DEPS): Likewise.
460 * Makefile.in: Regenerate.
462 * scripttempl/armbpabi.sc: Replace DWARF sections with an
463 inclusion of DWARF.sc.
464 * scripttempl/avr.sc: Likewise.
465 * scripttempl/elf.sc: Likewise.
466 * scripttempl/elf32cr16.sc: Likewise.
467 * scripttempl/elf32crx.sc: Likewise.
468 * scripttempl/elf32msp430.sc: Likewise.
469 * scripttempl/elf32msp430_3.sc: Likewise.
470 * scripttempl/elf32sh-symbian.sc: Likewise.
471 * scripttempl/elf64hppa.sc: Likewise.
472 * scripttempl/elf_chaos.sc: Likewise.
473 * scripttempl/elfd10v.sc: Likewise.
474 * scripttempl/elfd30v.sc: Likewise.
475 * scripttempl/elfi370.sc: Likewise.
476 * scripttempl/elfm68hc11.sc: Likewise.
477 * scripttempl/elfm68hc12.sc: Likewise.
478 * scripttempl/elfxgate.sc: Likewise.
479 * scripttempl/elfxtensa.sc: Likewise.
480 * scripttempl/epiphany_4x4.sc: Likewise.
481 * scripttempl/i386beos.sc: Likewise.
482 * scripttempl/i386go32.sc: Likewise.
483 * scripttempl/ia64vms.sc: Likewise.
484 * scripttempl/ip2k.sc: Likewise.
485 * scripttempl/iq2000.sc: Likewise.
486 * scripttempl/mep.sc: Likewise.
487 * scripttempl/mmo.sc: Likewise.
488 * scripttempl/v850.sc: Likewise.
489 * scripttempl/v850_rh850.sc: Likewise.
490 * scripttempl/xstormy16.sc: Likewise.
491 * scripttempl/DWARF.sc: New.
493 2013-04-04 Alan Modra <amodra@gmail.com>
495 * ldlang.c (load_symbols): Report "error adding symbols" on
496 bfd_link_add_symbols failure.
497 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
498 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
499 (gld${EMULATION_NAME}_try_needed): Likewise.
501 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
504 * scripttempl/avr.sc: Place trampolines before .progmem section.
506 2013-03-25 Kai Tietz <ktietz@redhat.com>
508 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
510 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
512 * ld.texinfo (H8/300): Add description of relaxation of
513 mov @(disp:32,ERx) to mov @(disp:16,ERx).
515 2013-03-21 Kai Tietz <ktietz@redhat.com>
517 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
518 generated C++-symbols as stdcall/fastcall.
520 2013-03-18 Alan Modra <amodra@gmail.com>
522 * ld.texinfo (--as-needed): Update.
524 2013-03-14 Jakub Jelinek <jakub@redhat.com>
526 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
527 aarch64linux* emulations.
529 2013-03-07 Alan Modra <amodra@gmail.com>
531 * ldfile.c (ldfile_open_command_file_1): Return after einfo
534 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
536 * configure.host: Add x86_64-*-cygwin* as valid host.
537 * configure.tgt: Add x86_64-*-cygwin* as valid target.
538 * emultempl/pep.em: Handle different requirements for Cygwin in terms
539 of start addresses for executables and DLLs, based on memory model in
540 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
542 2013-03-05 Alan Modra <amodra@gmail.com>
545 * ldlang.c (lang_size_sections_1): When given an lma_region align
546 LMA as per VMA only if lma_region is the same as region.
548 2013-02-27 Nick Clifton <nickc@redhat.com>
550 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
551 Add alignment of .bss section.
552 * scripttempl/elf32msp430_3.sc: Likewise.
554 2013-02-26 Nick Clifton <nickc@redhat.com>
557 * ld.texinfo: Fix typos.
559 2013-02-21 Alan Modra <amodra@gmail.com>
561 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
562 .init_array/.fini_array input sections before .ctors/.dtors input
564 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
566 2013-02-21 Alan Modra <amodra@gmail.com>
568 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
569 for elf_tdata changes.
571 2013-02-21 Alan Modra <amodra@gmail.com>
573 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
576 2013-02-20 Alan Modra <amodra@gmail.com>
578 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
579 * Makefile.in: Regenerate.
581 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
584 * plugin.c (plugin_notice): Add null check before dereferencing
587 2013-02-19 Alan Modra <amodra@gmail.com>
589 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
590 Replace all info->emit_note_gnu_build_id refs.
591 (id_note_section_size): Rename from
592 gld${EMULATION_NAME}_id_note_section_size.
593 (struct build_id_info): Delete.
594 (write_build_id): Rename from
595 gld${EMULATION_NAME}_write_build_id_section.
596 Update elf_tdata usage. Style, formatting.
597 (setup_build_id): New function.
598 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
600 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
603 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
606 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
609 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
611 2013-02-15 Kai Tietz <ktietz@redhat.com>
613 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
614 (.pdata): Merge .pdata* into .pdata section.
616 2013-02-11 Alan Modra <amodra@gmail.com>
618 * ldlang.c (get_init_priority): Comment typo.
619 (lang_finish): Free link_info.hash and lang_definedness_table.
620 (lang_end): Delete lang_definedness_table comment.
622 2013-02-11 Alan Modra <amodra@gmail.com>
625 * ld.texinfo (-rpath-link): Typo fix.
627 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
629 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
630 rather than userdata->flags.just_syms.
632 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
633 Andrew Jenner <andrew@codesourcery.com>
635 Based on patches from Altera Corporation.
637 * Makefile.am (enios2elf.c): New rule.
638 * Makefile.in: Regenerated.
639 * configure.tgt: Add case for nios2*-*-*.
640 * emulparams/nios2elf.sh: New file.
641 * NEWS: Note Altera Nios II support.
643 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
645 * emultempl/avrelf.em (avr_elf_before_parse): New function.
646 (LDEMUL_BEFORE_PARSE): Define.
648 2013-02-06 Alan Modra <amodra@gmail.com>
651 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
652 * emultempl/alphaelf.em: Revert 2013-02-04.
653 * emultempl/cr16elf.em: Likewise.
654 * emultempl/crxelf.em: Likewise.
655 * emultempl/hppaelf.em: Likewise.
656 * emultempl/ia64elf.em: Likewise.
657 * emultempl/mipself.em: Likewise.
658 * NEWS: Revert 2013-01-21.
660 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
663 * emultempl/alphaelf.em (alpha_after_parse): Call
664 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
665 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
666 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
667 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
668 * emultempl/mipself.em (mips_after_parse): Likewise.
670 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
672 (gld_${EMULATION_NAME}_after_parse): This. Call
673 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
674 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
676 * emultempl/elf32.em (new_dtags_set): New variable.
677 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
679 (gld${EMULATION_NAME}_after_parse): New function.
680 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
681 with gld${EMULATION_NAME}_after_parse.
682 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
683 when setting link_info.new_dtags.
685 2013-01-25 Kai Tietz <ktietz@redhat.com>
687 * deffilep.y (def_image_name): Adjust type of base-address
689 (%union): Add new type bfd_vma as vma.
691 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
692 (def_file_print): Use bfd's fprintf_vma to output base-address.
694 2013-01-24 Nick Clifton <nickc@redhat.com>
696 * NEWS: Mention support for V850E3V5 architecture.
698 2013-01-23 Martin Koegler <martin.koegler@chello.at>
701 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
703 (.debug_frame): Similarly.
705 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
708 * scripttempl/avr.sc (.eeprom): Keep it.
710 2013-01-23 Leif Ekblad <leif@rdos.net>
712 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
713 (eelf64rdos.c): New rule.
714 * emulparams/elf64rdos.sh: New file.
715 * configure.tgt (x86_64-*-rdos*): Use above.
716 * Makefile.in: Regenerate.
718 2013-01-22 Roland McGrath <mcgrathr@google.com>
720 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
721 new_dtags to TRUE for *-*-nacl* targets.
723 2013-01-21 Mike Frysinger <vapier@gentoo.org>
725 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
726 link_info.new_dtags to TRUE for linux/gnu targets.
727 * NEWS: Mention new dtags default.
729 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
731 * Makefile.am (HOSTING_SCRT0): New.
733 * configure.host (HOSTING_SCRT0): New. Used for PIE.
735 * configure.in (HOSTING_SCRT0): New AC_SUBST.
737 * Makefile.in: Regenerated.
738 * configure: Likewise.
740 2013-01-18 Mike Frysinger <vapier@gentoo.org>
742 * NEWS: Mention change in behavior with --enable-new-dtags.
743 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
745 2013-01-14 Leif Ekblad <leif@rdos.net>
746 Alan Modra <amodra@gmail.com>
748 * ld.texinfo (-Tldata-segment): Describe.
749 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
750 * lexsup.c (ld_options): Add -Tldata-segment.
751 (parse_args): Handle OPTION_TLDATA_SEGMENT.
752 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
754 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
756 * deffilep.y: Remove trailing white spaces.
757 * elf-hints-local.h: Likewise.
759 * ldlang.h: Likewise.
760 * ldmisc.c: Likewise.
761 * ldwrite.c: Likewise.
762 * pe-dll.c: Likewise.
763 * emulparams/criself.sh: Likewise.
764 * emulparams/crislinux.sh: Likewise.
765 * emulparams/elf32_tic6x_le.sh: Likewise.
766 * emulparams/elf32bmipn32-defs.sh: Likewise.
767 * emulparams/elf32mb_linux.sh: Likewise.
768 * emulparams/elf32mep.sh: Likewise.
769 * emulparams/elf32microblaze.sh: Likewise.
770 * emulparams/elf32ppc.sh: Likewise.
771 * emulparams/elf64_s390.sh: Likewise.
772 * emulparams/elf64alpha.sh: Likewise.
773 * emulparams/elf_s390.sh: Likewise.
774 * emulparams/elf_x86_64.sh: Likewise.
775 * emulparams/tic80coff.sh: Likewise.
776 * emultempl/aix.em: Likewise.
777 * emultempl/avrelf.em: Likewise.
778 * emultempl/cr16elf.em: Likewise.
779 * emultempl/pe.em: Likewise.
780 * emultempl/pep.em: Likewise.
781 * emultempl/spuelf.em: Likewise.
782 * emultempl/tic6xdsbt.em: Likewise.
784 2013-01-10 Will Newton <will.newton@imgtec.com>
786 * Makefile.am: Add Meta.
787 * Makefile.in: Regenerate.
788 * configure.tgt: Add Meta.
789 * emulparams/elf32metag.sh: New file.
790 * emultempl/metagelf.em: New file.
792 2013-01-09 Alan Modra <amodra@gmail.com>
794 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
795 * emulparams/elf32_x86_64.sh: Likewise.
796 * emulparams/elf_k1om.sh: Likewise.
797 * emulparams/elf_l1om.sh: Likewise.
798 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
799 OTHER_BSS_SECTIONS. Substitute in script.
801 2013-01-08 Leif Ekblad <leif@rdos.net>
803 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
805 2013-01-08 Alan Modra <amodra@gmail.com>
807 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
808 "name" param with a bfd_link_needed_list pointer. Update caller.
809 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
811 2013-01-08 Alan Modra <amodra@gmail.com>
813 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
814 * Makefile.in: Regenerate.
816 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
818 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
821 2013-01-07 Patrice Dumas <pertusus@free.fr>
823 * ld.texinfo: Replace @ with @@ when it is part of the text.
824 Correct ordering of M68HC11 entry.
826 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
828 * configure.tgt: Support ELF files for Sony Playstation 2 (for
830 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
831 Playstation 2 ELF files using MIPS ABI n32.
832 * emulparams/elf32lr5900.sh: Create linker script for Sony
833 Playstation 2 ELF files using MIPS ABI o32.
834 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
837 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
839 * ldver.c (ldversion): Update copyright year to 2013.
841 For older changes see ChangeLog-2012
843 Copyright (C) 2013 Free Software Foundation, Inc.
845 Copying and distribution of this file, with or without modification,
846 are permitted in any medium without royalty provided the copyright
847 notice and this notice are preserved.
853 version-control: never