1 2013-11-21 Andrew Pinski <apinski@cavium.com>
3 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
5 (eaarch64linux32.c): New target.
6 (eaarch64linux32b.c): Likewise.
7 * Makefile.in: Regenerate.
8 * configure.tgt (aarch64_be-*-linux*): Add
9 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
10 (aarch64-*-linux*): Likewise.
11 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
12 * emulparams/aarch64linux32.sh: New file.
13 * emulparams/aarch64linux32b.sh: New file.
15 2013-11-21 Andrew Pinski <apinski@cavium.com>
17 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
18 into targ_extra_libpath.
19 (aarch64-*-linux*): Likewise.
21 2013-11-21 Nick Clifton <nickc@redhat.com>
24 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
25 newly allocated idata5 block.
27 2013-11-20 Nick Clifton <nickc@redhat.com>
29 * scripttempl/elf32msp430.sc (.data): Set the based on the next
30 free location in the text memory region, not a computation based
31 upon the size of the text section. Orphaned sections or other
32 linker scripts might insert new sections between the .text section
33 and the .data section.
34 * scripttempl/elf32msp430_3.sc (.data): Likewise.
36 2013-11-19 Roland McGrath <mcgrathr@google.com>
37 Alan Modra <amodra@gmail.com>
39 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
40 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
41 hidden. Instead, just do it directly here, and only if it was
42 referenced but not defined.
44 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
46 * emulparams/nios2linux.sh: New emulation file.
47 * configure.tgt: Add nios2*-*-linux* emulation case.
48 * Makefile.am (enios2linux.c): New emulation entry.
49 * Makefile.in: Regenerate.
51 2013-10-14 Nick Clifton <nickc@redhat.com>
53 * emultempl/aix.em (_read_file): Close file at end of function.
55 2013-10-10 Roland McGrath <mcgrathr@google.com>
57 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
58 It silences some compilers' warnings and is much less bizarre to read.
60 2013-10-09 Roland McGrath <mcgrathr@google.com>
62 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
63 rather than a dummy assignment for unused parameter.
64 * plugin.c (get_input_file, release_input_file): Likewise.
66 2013-10-09 Nick Clifton <nickc@redhat.com>
69 * ldmain.c (add_keepsyms_file): Close file at end of function.
71 2013-10-03 Will Newton <will.newton@linaro.org>
73 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
74 * emulparams/aarch64elf32.sh: Likewise.
76 2013-09-30 Nick Clifton <nickc@redhat.com>
78 * emulparams/msp430all.sh: Update ARCH names.
80 2013-09-24 Alan Modra <amodra@gmail.com>
82 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
83 and cross-endian values.
84 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
85 and unset unwanted variables.
87 2013-09-24 Alan Modra <amodra@gmail.com>
89 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
90 sysrooted. Also, don't always add tooldir when non-sysrooted.
91 Instead add both when native and tooldir also when TOOL_DIR is
92 defined. Always prepend '=' to paths when sysrooted. Always
93 put paths with LIBPATH_SUFFIX first in search order.
95 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
97 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
98 * Makefile.in: Regenerate.
100 2013-09-20 Alan Modra <amodra@gmail.com>
102 * configure: Regenerate.
104 2013-09-18 Tristan Gingold <gingold@adacore.com>
106 * NEWS: Add marker for 2.24.
108 2013-09-17 Nick Clifton <nickc@redhat.com>
111 * deffilep.y (def_file_add_directive): Avoid readin past end of
114 2013-08-28 Nick Clifton <nickc@redhat.com>
117 * ld.texinfo: Fix uses of MB abbreviation.
119 2013-08-26 Roland McGrath <mcgrathr@google.com>
121 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
122 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
123 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
125 2013-08-23 Roland McGrath <mcgrathr@google.com>
127 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
128 SIZEOF_HEADERS here; elf.sc does it already.
130 2013-08-23 Nick Clifton <nickc@redhat.com>
133 * scripttempl/avr.sc: Do not include gc'able sections into general
134 sections during relocatable links.
136 2013-08-22 Christian Franke <franke@computer.org>
138 * emultempl/pe.em: Add --disable-large-address-aware option.
139 * ld.texinfo (--disable-large-address-aware): Add documentation.
141 2013-08-14 Clemens Lang <clemens.lang@fau.de>
143 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
146 * NEWS: Mention the new feature.
147 * ld.texinfo: Document the new feature.
149 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
151 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
152 * ldlang.c: Likewise.
153 * ldlang.h: Likewise.
156 * ld.texinfo: Document new feature.
157 * NEWS: Mention new feature.
159 2013-07-18 Roland McGrath <mcgrathr@google.com>
161 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
162 argument ALIGNMENT_POWER, use it instead of constant 3.
164 2013-07-08 Jeff Law <law@redhat.com>
166 * scripttempl/elf.sc: Handle function names and other text after
169 2013-07-08 Tristan Gingold <gingold@adacore.com>
171 * scripttempl/ia64vms.sc: Add support of per data and per function
174 2013-07-01 Alan Modra <amodra@gmail.com>
176 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
177 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
178 (gld${EMULATION_NAME}_after_allocation): Likewise.
180 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
182 * emulparams/aarch64elf32.sh: New file.
184 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
186 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
187 (eaarch64elf32b.c): New dependency and rule.
188 * Makefile.in: Re-generated.
189 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
190 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
191 * emulparams/aarch64elf32b.sh: New file.
193 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
195 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
196 (eaarch64elf32.c): New dependency and rule.
197 * Makefile.in: Re-generated.
198 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
199 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
200 * emulparams/aarch64elf32.sh: New file.
202 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
204 * emultempl/mipself.em (insn32): New variable.
205 (mips_create_output_section_statements): Handle insn32 mode.
206 (PARSE_AND_LIST_PROLOGUE): New macro.
207 (PARSE_AND_LIST_LONGOPTS): Likewise.
208 (PARSE_AND_LIST_OPTIONS): Likewise.
210 * gen-doc.texi: Set MIPS.
211 * ld.texinfo: Likewise.
212 (Options specific to MIPS targets): New section.
213 (ld and MIPS family): New node.
214 (Top, Machine Dependent): List the new node.
216 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
218 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
219 as close to .plt as possible.
220 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
221 $PLT_NEXT_DATA variables.
223 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
225 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
226 (ALL_64_EMULATION_SOURCES): ...here.
227 * Makefile.in: Regenerate.
229 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
231 * NEWS: Document the removal of MIPS ECOFF targets.
232 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
233 MIPS ECOFF as an example of a target that supports small data.
234 * ldmain.c (g_switch_value): Likewise.
235 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
236 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
237 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
238 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
239 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
240 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
241 (emipslnews.c, emipspe.c): Delete rules.
242 * Makefile.in: Regenerate.
243 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
244 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
245 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
246 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
247 has now been removed.
248 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
250 2013-06-19 Will Newton <will.newton@linaro.org>
252 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
254 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
256 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
258 2013-06-12 Nick Clifton <nickc@redhat.com>
260 * ldcref.c (output_one_cref): Place common definitions after
261 ordinary definitions but before references.
263 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
266 * ld.texinfo (Source Code Reference): Fix typos.
268 2013-06-07 Will Newton <will.newton@linaro.org>
270 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
272 2013-06-07 Nick Clifton <nickc@redhat.com>
274 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
275 option must appear before the SEGMENT_START is encountered in
276 order for the default value to be overridden.
278 2013-05-03 Alan Modra <amodra@gmail.com>
281 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
282 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
284 2013-05-03 Alan Modra <amodra@gmail.com>
286 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
287 Only call lang_for_each_statement if an ELF hash table is used.
289 2013-05-02 Nick Clifton <nickc@redhat.com>
291 * Makefile.am: Add emsp430X.c
292 * Makefine.in: Regenerate.
293 * configure.tgt (msp430): Add msp430X emulation.
294 * ldmain.c (multiple_definition): Only disable relaxation if it
295 was enabled by the user.
296 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
297 * emulparams/msp430all.sh: Add support for MSP430X.
298 * emultempl/generic.em: (before_parse): Enable relaxation for the
300 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
302 * scripttempl/msp430_3.sc: Likewise.
303 * NEWS: Mention support for MSP430X.
305 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
307 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
308 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
309 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
311 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
313 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
314 Use is_elf_hash_table rather than a handcoded condition.
316 2013-04-30 Nick Clifton <nickc@redhat.com>
318 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
319 are sorted by descending order of alignment.
321 2013-04-29 Nick Clifton <nickc@redhat.com>
323 * scripttempl/DWARF.sc: Add support for .debug_line.* and
326 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
328 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
331 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
333 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
334 * scripttempl/avr.sc: Likewise.
335 * scripttempl/elf.sc: Likewise.
336 * scripttempl/elf32cr16.sc: Likewise.
337 * scripttempl/elf32crx.sc: Likewise.
338 * scripttempl/elf32msp430.sc: Likewise.
339 * scripttempl/elf32msp430_3.sc: Likewise.
340 * scripttempl/elf32sh-symbian.sc: Likewise.
341 * scripttempl/elf64hppa.sc: Likewise.
342 * scripttempl/elf_chaos.sc: Likewise.
343 * scripttempl/elfd10v.sc: Likewise.
344 * scripttempl/elfd30v.sc: Likewise.
345 * scripttempl/elfi370.sc: Likewise.
346 * scripttempl/elfm68hc11.sc: Likewise.
347 * scripttempl/elfm68hc12.sc: Likewise.
348 * scripttempl/elfxgate.sc: Likewise.
349 * scripttempl/elfxtensa.sc: Likewise.
350 * scripttempl/epiphany_4x4.sc: Likewise.
351 * scripttempl/i386beos.sc: Likewise.
352 * scripttempl/i386go32.sc: Likewise.
353 * scripttempl/ia64vms.sc: Likewise.
354 * scripttempl/ip2k.sc: Likewise.
355 * scripttempl/iq2000.sc: Likewise.
356 * scripttempl/mep.sc: Likewise.
357 * scripttempl/mmo.sc: Likewise.
358 * scripttempl/v850.sc: Likewise.
359 * scripttempl/v850_rh850.sc: Likewise.
360 * scripttempl/xstormy16.sc: Likewise.
362 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
364 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
366 2013-04-26 Alan Modra <amodra@gmail.com>
368 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
369 unresolved_syms_in_shared_libs rather than !executable to
370 determine whether to load DT_NEEDED libraries.
372 2013-04-25 Alan Modra <amodra@gmail.com>
374 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
375 (eelf32lppclinux.c): New rule.
376 * Makefile.in: Regenerate.
377 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
378 with corresponding little-endian targets.
379 * emulparams/elf32lppc.sh: Update comment.
380 * emulparams/elf32lppclinux.sh: New.
382 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
384 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
386 (targ_extra_libpath): Likewise.
387 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
389 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
391 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
392 * emulparams/aarch64linux.sh: Ditto.
393 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
394 Replace elf64 with elf${ELFSIZE}.
395 (elf64_aarch64_add_stub_section): Likewise.
396 (build_section_lists): Likewise.
397 (gld${EMULATION_NAME}_after_allocation): Likewise.
398 (gld${EMULATION_NAME}_finish): Likewise.
399 (aarch64_elf_create_output_section_statements): Likewise.
401 2013-04-24 Nick Clifton <nickc@redhat.com>
404 * scripttempl/avr.sc: Add .note.gnu.build-id section.
406 2013-04-22 Alan Modra <amodra@gmail.com>
408 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
409 Check return from ppc64_elf_init_stub_bfd.
411 2013-04-15 Nick Clifton <nickc@redhat.com>
413 * Makefile.am (ELF_DEPS): Add a dependency upon
414 scripttempl/DWARF.sc.
415 (ELF_GEN_DEPS): Likewise.
417 * Makefile.in: Regenerate.
419 * scripttempl/armbpabi.sc: Replace DWARF sections with an
420 inclusion of DWARF.sc.
421 * scripttempl/avr.sc: Likewise.
422 * scripttempl/elf.sc: Likewise.
423 * scripttempl/elf32cr16.sc: Likewise.
424 * scripttempl/elf32crx.sc: Likewise.
425 * scripttempl/elf32msp430.sc: Likewise.
426 * scripttempl/elf32msp430_3.sc: Likewise.
427 * scripttempl/elf32sh-symbian.sc: Likewise.
428 * scripttempl/elf64hppa.sc: Likewise.
429 * scripttempl/elf_chaos.sc: Likewise.
430 * scripttempl/elfd10v.sc: Likewise.
431 * scripttempl/elfd30v.sc: Likewise.
432 * scripttempl/elfi370.sc: Likewise.
433 * scripttempl/elfm68hc11.sc: Likewise.
434 * scripttempl/elfm68hc12.sc: Likewise.
435 * scripttempl/elfxgate.sc: Likewise.
436 * scripttempl/elfxtensa.sc: Likewise.
437 * scripttempl/epiphany_4x4.sc: Likewise.
438 * scripttempl/i386beos.sc: Likewise.
439 * scripttempl/i386go32.sc: Likewise.
440 * scripttempl/ia64vms.sc: Likewise.
441 * scripttempl/ip2k.sc: Likewise.
442 * scripttempl/iq2000.sc: Likewise.
443 * scripttempl/mep.sc: Likewise.
444 * scripttempl/mmo.sc: Likewise.
445 * scripttempl/v850.sc: Likewise.
446 * scripttempl/v850_rh850.sc: Likewise.
447 * scripttempl/xstormy16.sc: Likewise.
448 * scripttempl/DWARF.sc: New.
450 2013-04-04 Alan Modra <amodra@gmail.com>
452 * ldlang.c (load_symbols): Report "error adding symbols" on
453 bfd_link_add_symbols failure.
454 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
455 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
456 (gld${EMULATION_NAME}_try_needed): Likewise.
458 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
461 * scripttempl/avr.sc: Place trampolines before .progmem section.
463 2013-03-25 Kai Tietz <ktietz@redhat.com>
465 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
467 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
469 * ld.texinfo (H8/300): Add description of relaxation of
470 mov @(disp:32,ERx) to mov @(disp:16,ERx).
472 2013-03-21 Kai Tietz <ktietz@redhat.com>
474 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
475 generated C++-symbols as stdcall/fastcall.
477 2013-03-18 Alan Modra <amodra@gmail.com>
479 * ld.texinfo (--as-needed): Update.
481 2013-03-14 Jakub Jelinek <jakub@redhat.com>
483 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
484 aarch64linux* emulations.
486 2013-03-07 Alan Modra <amodra@gmail.com>
488 * ldfile.c (ldfile_open_command_file_1): Return after einfo
491 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
493 * configure.host: Add x86_64-*-cygwin* as valid host.
494 * configure.tgt: Add x86_64-*-cygwin* as valid target.
495 * emultempl/pep.em: Handle different requirements for Cygwin in terms
496 of start addresses for executables and DLLs, based on memory model in
497 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
499 2013-03-05 Alan Modra <amodra@gmail.com>
502 * ldlang.c (lang_size_sections_1): When given an lma_region align
503 LMA as per VMA only if lma_region is the same as region.
505 2013-02-27 Nick Clifton <nickc@redhat.com>
507 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
508 Add alignment of .bss section.
509 * scripttempl/elf32msp430_3.sc: Likewise.
511 2013-02-26 Nick Clifton <nickc@redhat.com>
514 * ld.texinfo: Fix typos.
516 2013-02-21 Alan Modra <amodra@gmail.com>
518 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
519 .init_array/.fini_array input sections before .ctors/.dtors input
521 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
523 2013-02-21 Alan Modra <amodra@gmail.com>
525 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
526 for elf_tdata changes.
528 2013-02-21 Alan Modra <amodra@gmail.com>
530 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
533 2013-02-20 Alan Modra <amodra@gmail.com>
535 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
536 * Makefile.in: Regenerate.
538 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
541 * plugin.c (plugin_notice): Add null check before dereferencing
544 2013-02-19 Alan Modra <amodra@gmail.com>
546 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
547 Replace all info->emit_note_gnu_build_id refs.
548 (id_note_section_size): Rename from
549 gld${EMULATION_NAME}_id_note_section_size.
550 (struct build_id_info): Delete.
551 (write_build_id): Rename from
552 gld${EMULATION_NAME}_write_build_id_section.
553 Update elf_tdata usage. Style, formatting.
554 (setup_build_id): New function.
555 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
557 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
560 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
563 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
566 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
568 2013-02-15 Kai Tietz <ktietz@redhat.com>
570 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
571 (.pdata): Merge .pdata* into .pdata section.
573 2013-02-11 Alan Modra <amodra@gmail.com>
575 * ldlang.c (get_init_priority): Comment typo.
576 (lang_finish): Free link_info.hash and lang_definedness_table.
577 (lang_end): Delete lang_definedness_table comment.
579 2013-02-11 Alan Modra <amodra@gmail.com>
582 * ld.texinfo (-rpath-link): Typo fix.
584 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
586 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
587 rather than userdata->flags.just_syms.
589 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
590 Andrew Jenner <andrew@codesourcery.com>
592 Based on patches from Altera Corporation.
594 * Makefile.am (enios2elf.c): New rule.
595 * Makefile.in: Regenerated.
596 * configure.tgt: Add case for nios2*-*-*.
597 * emulparams/nios2elf.sh: New file.
598 * NEWS: Note Altera Nios II support.
600 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
602 * emultempl/avrelf.em (avr_elf_before_parse): New function.
603 (LDEMUL_BEFORE_PARSE): Define.
605 2013-02-06 Alan Modra <amodra@gmail.com>
608 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
609 * emultempl/alphaelf.em: Revert 2013-02-04.
610 * emultempl/cr16elf.em: Likewise.
611 * emultempl/crxelf.em: Likewise.
612 * emultempl/hppaelf.em: Likewise.
613 * emultempl/ia64elf.em: Likewise.
614 * emultempl/mipself.em: Likewise.
615 * NEWS: Revert 2013-01-21.
617 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
620 * emultempl/alphaelf.em (alpha_after_parse): Call
621 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
622 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
623 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
624 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
625 * emultempl/mipself.em (mips_after_parse): Likewise.
627 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
629 (gld_${EMULATION_NAME}_after_parse): This. Call
630 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
631 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
633 * emultempl/elf32.em (new_dtags_set): New variable.
634 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
636 (gld${EMULATION_NAME}_after_parse): New function.
637 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
638 with gld${EMULATION_NAME}_after_parse.
639 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
640 when setting link_info.new_dtags.
642 2013-01-25 Kai Tietz <ktietz@redhat.com>
644 * deffilep.y (def_image_name): Adjust type of base-address
646 (%union): Add new type bfd_vma as vma.
648 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
649 (def_file_print): Use bfd's fprintf_vma to output base-address.
651 2013-01-24 Nick Clifton <nickc@redhat.com>
653 * NEWS: Mention support for V850E3V5 architecture.
655 2013-01-23 Martin Koegler <martin.koegler@chello.at>
658 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
660 (.debug_frame): Similarly.
662 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
665 * scripttempl/avr.sc (.eeprom): Keep it.
667 2013-01-23 Leif Ekblad <leif@rdos.net>
669 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
670 (eelf64rdos.c): New rule.
671 * emulparams/elf64rdos.sh: New file.
672 * configure.tgt (x86_64-*-rdos*): Use above.
673 * Makefile.in: Regenerate.
675 2013-01-22 Roland McGrath <mcgrathr@google.com>
677 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
678 new_dtags to TRUE for *-*-nacl* targets.
680 2013-01-21 Mike Frysinger <vapier@gentoo.org>
682 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
683 link_info.new_dtags to TRUE for linux/gnu targets.
684 * NEWS: Mention new dtags default.
686 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
688 * Makefile.am (HOSTING_SCRT0): New.
690 * configure.host (HOSTING_SCRT0): New. Used for PIE.
692 * configure.in (HOSTING_SCRT0): New AC_SUBST.
694 * Makefile.in: Regenerated.
695 * configure: Likewise.
697 2013-01-18 Mike Frysinger <vapier@gentoo.org>
699 * NEWS: Mention change in behavior with --enable-new-dtags.
700 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
702 2013-01-14 Leif Ekblad <leif@rdos.net>
703 Alan Modra <amodra@gmail.com>
705 * ld.texinfo (-Tldata-segment): Describe.
706 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
707 * lexsup.c (ld_options): Add -Tldata-segment.
708 (parse_args): Handle OPTION_TLDATA_SEGMENT.
709 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
711 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
713 * deffilep.y: Remove trailing white spaces.
714 * elf-hints-local.h: Likewise.
716 * ldlang.h: Likewise.
717 * ldmisc.c: Likewise.
718 * ldwrite.c: Likewise.
719 * pe-dll.c: Likewise.
720 * emulparams/criself.sh: Likewise.
721 * emulparams/crislinux.sh: Likewise.
722 * emulparams/elf32_tic6x_le.sh: Likewise.
723 * emulparams/elf32bmipn32-defs.sh: Likewise.
724 * emulparams/elf32mb_linux.sh: Likewise.
725 * emulparams/elf32mep.sh: Likewise.
726 * emulparams/elf32microblaze.sh: Likewise.
727 * emulparams/elf32ppc.sh: Likewise.
728 * emulparams/elf64_s390.sh: Likewise.
729 * emulparams/elf64alpha.sh: Likewise.
730 * emulparams/elf_s390.sh: Likewise.
731 * emulparams/elf_x86_64.sh: Likewise.
732 * emulparams/tic80coff.sh: Likewise.
733 * emultempl/aix.em: Likewise.
734 * emultempl/avrelf.em: Likewise.
735 * emultempl/cr16elf.em: Likewise.
736 * emultempl/pe.em: Likewise.
737 * emultempl/pep.em: Likewise.
738 * emultempl/spuelf.em: Likewise.
739 * emultempl/tic6xdsbt.em: Likewise.
741 2013-01-10 Will Newton <will.newton@imgtec.com>
743 * Makefile.am: Add Meta.
744 * Makefile.in: Regenerate.
745 * configure.tgt: Add Meta.
746 * emulparams/elf32metag.sh: New file.
747 * emultempl/metagelf.em: New file.
749 2013-01-09 Alan Modra <amodra@gmail.com>
751 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
752 * emulparams/elf32_x86_64.sh: Likewise.
753 * emulparams/elf_k1om.sh: Likewise.
754 * emulparams/elf_l1om.sh: Likewise.
755 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
756 OTHER_BSS_SECTIONS. Substitute in script.
758 2013-01-08 Leif Ekblad <leif@rdos.net>
760 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
762 2013-01-08 Alan Modra <amodra@gmail.com>
764 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
765 "name" param with a bfd_link_needed_list pointer. Update caller.
766 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
768 2013-01-08 Alan Modra <amodra@gmail.com>
770 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
771 * Makefile.in: Regenerate.
773 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
775 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
778 2013-01-07 Patrice Dumas <pertusus@free.fr>
780 * ld.texinfo: Replace @ with @@ when it is part of the text.
781 Correct ordering of M68HC11 entry.
783 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
785 * configure.tgt: Support ELF files for Sony Playstation 2 (for
787 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
788 Playstation 2 ELF files using MIPS ABI n32.
789 * emulparams/elf32lr5900.sh: Create linker script for Sony
790 Playstation 2 ELF files using MIPS ABI o32.
791 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
794 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
796 * ldver.c (ldversion): Update copyright year to 2013.
798 For older changes see ChangeLog-2012
800 Copyright (C) 2013 Free Software Foundation, Inc.
802 Copying and distribution of this file, with or without modification,
803 are permitted in any medium without royalty provided the copyright
804 notice and this notice are preserved.
810 version-control: never