1 2013-10-14 Nick Clifton <nickc@redhat.com>
3 * emultempl/aix.em (_read_file): Close file at end of function.
5 2013-10-10 Roland McGrath <mcgrathr@google.com>
7 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
8 It silences some compilers' warnings and is much less bizarre to read.
10 2013-10-09 Roland McGrath <mcgrathr@google.com>
12 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
13 rather than a dummy assignment for unused parameter.
14 * plugin.c (get_input_file, release_input_file): Likewise.
16 2013-10-09 Nick Clifton <nickc@redhat.com>
19 * ldmain.c (add_keepsyms_file): Close file at end of function.
21 2013-10-03 Will Newton <will.newton@linaro.org>
23 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
24 * emulparams/aarch64elf32.sh: Likewise.
26 2013-09-30 Nick Clifton <nickc@redhat.com>
28 * emulparams/msp430all.sh: Update ARCH names.
30 2013-09-24 Alan Modra <amodra@gmail.com>
32 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
33 and cross-endian values.
34 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
35 and unset unwanted variables.
37 2013-09-24 Alan Modra <amodra@gmail.com>
39 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
40 sysrooted. Also, don't always add tooldir when non-sysrooted.
41 Instead add both when native and tooldir also when TOOL_DIR is
42 defined. Always prepend '=' to paths when sysrooted. Always
43 put paths with LIBPATH_SUFFIX first in search order.
45 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
47 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
48 * Makefile.in: Regenerate.
50 2013-09-20 Alan Modra <amodra@gmail.com>
52 * configure: Regenerate.
54 2013-09-18 Tristan Gingold <gingold@adacore.com>
56 * NEWS: Add marker for 2.24.
58 2013-09-17 Nick Clifton <nickc@redhat.com>
61 * deffilep.y (def_file_add_directive): Avoid readin past end of
64 2013-08-28 Nick Clifton <nickc@redhat.com>
67 * ld.texinfo: Fix uses of MB abbreviation.
69 2013-08-26 Roland McGrath <mcgrathr@google.com>
71 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
72 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
73 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
75 2013-08-23 Roland McGrath <mcgrathr@google.com>
77 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
78 SIZEOF_HEADERS here; elf.sc does it already.
80 2013-08-23 Nick Clifton <nickc@redhat.com>
83 * scripttempl/avr.sc: Do not include gc'able sections into general
84 sections during relocatable links.
86 2013-08-22 Christian Franke <franke@computer.org>
88 * emultempl/pe.em: Add --disable-large-address-aware option.
89 * ld.texinfo (--disable-large-address-aware): Add documentation.
91 2013-08-14 Clemens Lang <clemens.lang@fau.de>
93 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
96 * NEWS: Mention the new feature.
97 * ld.texinfo: Document the new feature.
99 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
101 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
102 * ldlang.c: Likewise.
103 * ldlang.h: Likewise.
106 * ld.texinfo: Document new feature.
107 * NEWS: Mention new feature.
109 2013-07-18 Roland McGrath <mcgrathr@google.com>
111 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
112 argument ALIGNMENT_POWER, use it instead of constant 3.
114 2013-07-08 Jeff Law <law@redhat.com>
116 * scripttempl/elf.sc: Handle function names and other text after
119 2013-07-08 Tristan Gingold <gingold@adacore.com>
121 * scripttempl/ia64vms.sc: Add support of per data and per function
124 2013-07-01 Alan Modra <amodra@gmail.com>
126 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
127 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
128 (gld${EMULATION_NAME}_after_allocation): Likewise.
130 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
132 * emulparams/aarch64elf32.sh: New file.
134 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
136 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
137 (eaarch64elf32b.c): New dependency and rule.
138 * Makefile.in: Re-generated.
139 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
140 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
141 * emulparams/aarch64elf32b.sh: New file.
143 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
145 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
146 (eaarch64elf32.c): New dependency and rule.
147 * Makefile.in: Re-generated.
148 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
149 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
150 * emulparams/aarch64elf32.sh: New file.
152 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
154 * emultempl/mipself.em (insn32): New variable.
155 (mips_create_output_section_statements): Handle insn32 mode.
156 (PARSE_AND_LIST_PROLOGUE): New macro.
157 (PARSE_AND_LIST_LONGOPTS): Likewise.
158 (PARSE_AND_LIST_OPTIONS): Likewise.
160 * gen-doc.texi: Set MIPS.
161 * ld.texinfo: Likewise.
162 (Options specific to MIPS targets): New section.
163 (ld and MIPS family): New node.
164 (Top, Machine Dependent): List the new node.
166 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
168 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
169 as close to .plt as possible.
170 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
171 $PLT_NEXT_DATA variables.
173 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
175 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
176 (ALL_64_EMULATION_SOURCES): ...here.
177 * Makefile.in: Regenerate.
179 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
181 * NEWS: Document the removal of MIPS ECOFF targets.
182 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
183 MIPS ECOFF as an example of a target that supports small data.
184 * ldmain.c (g_switch_value): Likewise.
185 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
186 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
187 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
188 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
189 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
190 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
191 (emipslnews.c, emipspe.c): Delete rules.
192 * Makefile.in: Regenerate.
193 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
194 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
195 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
196 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
197 has now been removed.
198 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
200 2013-06-19 Will Newton <will.newton@linaro.org>
202 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
204 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
206 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
208 2013-06-12 Nick Clifton <nickc@redhat.com>
210 * ldcref.c (output_one_cref): Place common definitions after
211 ordinary definitions but before references.
213 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
216 * ld.texinfo (Source Code Reference): Fix typos.
218 2013-06-07 Will Newton <will.newton@linaro.org>
220 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
222 2013-06-07 Nick Clifton <nickc@redhat.com>
224 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
225 option must appear before the SEGMENT_START is encountered in
226 order for the default value to be overridden.
228 2013-05-03 Alan Modra <amodra@gmail.com>
231 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
232 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
234 2013-05-03 Alan Modra <amodra@gmail.com>
236 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
237 Only call lang_for_each_statement if an ELF hash table is used.
239 2013-05-02 Nick Clifton <nickc@redhat.com>
241 * Makefile.am: Add emsp430X.c
242 * Makefine.in: Regenerate.
243 * configure.tgt (msp430): Add msp430X emulation.
244 * ldmain.c (multiple_definition): Only disable relaxation if it
245 was enabled by the user.
246 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
247 * emulparams/msp430all.sh: Add support for MSP430X.
248 * emultempl/generic.em: (before_parse): Enable relaxation for the
250 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
252 * scripttempl/msp430_3.sc: Likewise.
253 * NEWS: Mention support for MSP430X.
255 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
257 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
258 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
259 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
261 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
263 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
264 Use is_elf_hash_table rather than a handcoded condition.
266 2013-04-30 Nick Clifton <nickc@redhat.com>
268 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
269 are sorted by descending order of alignment.
271 2013-04-29 Nick Clifton <nickc@redhat.com>
273 * scripttempl/DWARF.sc: Add support for .debug_line.* and
276 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
278 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
281 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
283 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
284 * scripttempl/avr.sc: Likewise.
285 * scripttempl/elf.sc: Likewise.
286 * scripttempl/elf32cr16.sc: Likewise.
287 * scripttempl/elf32crx.sc: Likewise.
288 * scripttempl/elf32msp430.sc: Likewise.
289 * scripttempl/elf32msp430_3.sc: Likewise.
290 * scripttempl/elf32sh-symbian.sc: Likewise.
291 * scripttempl/elf64hppa.sc: Likewise.
292 * scripttempl/elf_chaos.sc: Likewise.
293 * scripttempl/elfd10v.sc: Likewise.
294 * scripttempl/elfd30v.sc: Likewise.
295 * scripttempl/elfi370.sc: Likewise.
296 * scripttempl/elfm68hc11.sc: Likewise.
297 * scripttempl/elfm68hc12.sc: Likewise.
298 * scripttempl/elfxgate.sc: Likewise.
299 * scripttempl/elfxtensa.sc: Likewise.
300 * scripttempl/epiphany_4x4.sc: Likewise.
301 * scripttempl/i386beos.sc: Likewise.
302 * scripttempl/i386go32.sc: Likewise.
303 * scripttempl/ia64vms.sc: Likewise.
304 * scripttempl/ip2k.sc: Likewise.
305 * scripttempl/iq2000.sc: Likewise.
306 * scripttempl/mep.sc: Likewise.
307 * scripttempl/mmo.sc: Likewise.
308 * scripttempl/v850.sc: Likewise.
309 * scripttempl/v850_rh850.sc: Likewise.
310 * scripttempl/xstormy16.sc: Likewise.
312 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
314 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
316 2013-04-26 Alan Modra <amodra@gmail.com>
318 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
319 unresolved_syms_in_shared_libs rather than !executable to
320 determine whether to load DT_NEEDED libraries.
322 2013-04-25 Alan Modra <amodra@gmail.com>
324 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
325 (eelf32lppclinux.c): New rule.
326 * Makefile.in: Regenerate.
327 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
328 with corresponding little-endian targets.
329 * emulparams/elf32lppc.sh: Update comment.
330 * emulparams/elf32lppclinux.sh: New.
332 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
334 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
336 (targ_extra_libpath): Likewise.
337 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
339 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
341 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
342 * emulparams/aarch64linux.sh: Ditto.
343 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
344 Replace elf64 with elf${ELFSIZE}.
345 (elf64_aarch64_add_stub_section): Likewise.
346 (build_section_lists): Likewise.
347 (gld${EMULATION_NAME}_after_allocation): Likewise.
348 (gld${EMULATION_NAME}_finish): Likewise.
349 (aarch64_elf_create_output_section_statements): Likewise.
351 2013-04-24 Nick Clifton <nickc@redhat.com>
354 * scripttempl/avr.sc: Add .note.gnu.build-id section.
356 2013-04-22 Alan Modra <amodra@gmail.com>
358 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
359 Check return from ppc64_elf_init_stub_bfd.
361 2013-04-15 Nick Clifton <nickc@redhat.com>
363 * Makefile.am (ELF_DEPS): Add a dependency upon
364 scripttempl/DWARF.sc.
365 (ELF_GEN_DEPS): Likewise.
367 * Makefile.in: Regenerate.
369 * scripttempl/armbpabi.sc: Replace DWARF sections with an
370 inclusion of DWARF.sc.
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 * scripttempl/DWARF.sc: New.
400 2013-04-04 Alan Modra <amodra@gmail.com>
402 * ldlang.c (load_symbols): Report "error adding symbols" on
403 bfd_link_add_symbols failure.
404 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
405 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
406 (gld${EMULATION_NAME}_try_needed): Likewise.
408 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
411 * scripttempl/avr.sc: Place trampolines before .progmem section.
413 2013-03-25 Kai Tietz <ktietz@redhat.com>
415 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
417 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
419 * ld.texinfo (H8/300): Add description of relaxation of
420 mov @(disp:32,ERx) to mov @(disp:16,ERx).
422 2013-03-21 Kai Tietz <ktietz@redhat.com>
424 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
425 generated C++-symbols as stdcall/fastcall.
427 2013-03-18 Alan Modra <amodra@gmail.com>
429 * ld.texinfo (--as-needed): Update.
431 2013-03-14 Jakub Jelinek <jakub@redhat.com>
433 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
434 aarch64linux* emulations.
436 2013-03-07 Alan Modra <amodra@gmail.com>
438 * ldfile.c (ldfile_open_command_file_1): Return after einfo
441 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
443 * configure.host: Add x86_64-*-cygwin* as valid host.
444 * configure.tgt: Add x86_64-*-cygwin* as valid target.
445 * emultempl/pep.em: Handle different requirements for Cygwin in terms
446 of start addresses for executables and DLLs, based on memory model in
447 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
449 2013-03-05 Alan Modra <amodra@gmail.com>
452 * ldlang.c (lang_size_sections_1): When given an lma_region align
453 LMA as per VMA only if lma_region is the same as region.
455 2013-02-27 Nick Clifton <nickc@redhat.com>
457 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
458 Add alignment of .bss section.
459 * scripttempl/elf32msp430_3.sc: Likewise.
461 2013-02-26 Nick Clifton <nickc@redhat.com>
464 * ld.texinfo: Fix typos.
466 2013-02-21 Alan Modra <amodra@gmail.com>
468 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
469 .init_array/.fini_array input sections before .ctors/.dtors input
471 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
473 2013-02-21 Alan Modra <amodra@gmail.com>
475 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
476 for elf_tdata changes.
478 2013-02-21 Alan Modra <amodra@gmail.com>
480 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
483 2013-02-20 Alan Modra <amodra@gmail.com>
485 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
486 * Makefile.in: Regenerate.
488 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
491 * plugin.c (plugin_notice): Add null check before dereferencing
494 2013-02-19 Alan Modra <amodra@gmail.com>
496 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
497 Replace all info->emit_note_gnu_build_id refs.
498 (id_note_section_size): Rename from
499 gld${EMULATION_NAME}_id_note_section_size.
500 (struct build_id_info): Delete.
501 (write_build_id): Rename from
502 gld${EMULATION_NAME}_write_build_id_section.
503 Update elf_tdata usage. Style, formatting.
504 (setup_build_id): New function.
505 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
507 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
510 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
513 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
516 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
518 2013-02-15 Kai Tietz <ktietz@redhat.com>
520 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
521 (.pdata): Merge .pdata* into .pdata section.
523 2013-02-11 Alan Modra <amodra@gmail.com>
525 * ldlang.c (get_init_priority): Comment typo.
526 (lang_finish): Free link_info.hash and lang_definedness_table.
527 (lang_end): Delete lang_definedness_table comment.
529 2013-02-11 Alan Modra <amodra@gmail.com>
532 * ld.texinfo (-rpath-link): Typo fix.
534 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
536 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
537 rather than userdata->flags.just_syms.
539 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
540 Andrew Jenner <andrew@codesourcery.com>
542 Based on patches from Altera Corporation.
544 * Makefile.am (enios2elf.c): New rule.
545 * Makefile.in: Regenerated.
546 * configure.tgt: Add case for nios2*-*-*.
547 * emulparams/nios2elf.sh: New file.
548 * NEWS: Note Altera Nios II support.
550 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
552 * emultempl/avrelf.em (avr_elf_before_parse): New function.
553 (LDEMUL_BEFORE_PARSE): Define.
555 2013-02-06 Alan Modra <amodra@gmail.com>
558 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
559 * emultempl/alphaelf.em: Revert 2013-02-04.
560 * emultempl/cr16elf.em: Likewise.
561 * emultempl/crxelf.em: Likewise.
562 * emultempl/hppaelf.em: Likewise.
563 * emultempl/ia64elf.em: Likewise.
564 * emultempl/mipself.em: Likewise.
565 * NEWS: Revert 2013-01-21.
567 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
570 * emultempl/alphaelf.em (alpha_after_parse): Call
571 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
572 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
573 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
574 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
575 * emultempl/mipself.em (mips_after_parse): Likewise.
577 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
579 (gld_${EMULATION_NAME}_after_parse): This. Call
580 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
581 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
583 * emultempl/elf32.em (new_dtags_set): New variable.
584 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
586 (gld${EMULATION_NAME}_after_parse): New function.
587 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
588 with gld${EMULATION_NAME}_after_parse.
589 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
590 when setting link_info.new_dtags.
592 2013-01-25 Kai Tietz <ktietz@redhat.com>
594 * deffilep.y (def_image_name): Adjust type of base-address
596 (%union): Add new type bfd_vma as vma.
598 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
599 (def_file_print): Use bfd's fprintf_vma to output base-address.
601 2013-01-24 Nick Clifton <nickc@redhat.com>
603 * NEWS: Mention support for V850E3V5 architecture.
605 2013-01-23 Martin Koegler <martin.koegler@chello.at>
608 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
610 (.debug_frame): Similarly.
612 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
615 * scripttempl/avr.sc (.eeprom): Keep it.
617 2013-01-23 Leif Ekblad <leif@rdos.net>
619 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
620 (eelf64rdos.c): New rule.
621 * emulparams/elf64rdos.sh: New file.
622 * configure.tgt (x86_64-*-rdos*): Use above.
623 * Makefile.in: Regenerate.
625 2013-01-22 Roland McGrath <mcgrathr@google.com>
627 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
628 new_dtags to TRUE for *-*-nacl* targets.
630 2013-01-21 Mike Frysinger <vapier@gentoo.org>
632 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
633 link_info.new_dtags to TRUE for linux/gnu targets.
634 * NEWS: Mention new dtags default.
636 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
638 * Makefile.am (HOSTING_SCRT0): New.
640 * configure.host (HOSTING_SCRT0): New. Used for PIE.
642 * configure.in (HOSTING_SCRT0): New AC_SUBST.
644 * Makefile.in: Regenerated.
645 * configure: Likewise.
647 2013-01-18 Mike Frysinger <vapier@gentoo.org>
649 * NEWS: Mention change in behavior with --enable-new-dtags.
650 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
652 2013-01-14 Leif Ekblad <leif@rdos.net>
653 Alan Modra <amodra@gmail.com>
655 * ld.texinfo (-Tldata-segment): Describe.
656 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
657 * lexsup.c (ld_options): Add -Tldata-segment.
658 (parse_args): Handle OPTION_TLDATA_SEGMENT.
659 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
661 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
663 * deffilep.y: Remove trailing white spaces.
664 * elf-hints-local.h: Likewise.
666 * ldlang.h: Likewise.
667 * ldmisc.c: Likewise.
668 * ldwrite.c: Likewise.
669 * pe-dll.c: Likewise.
670 * emulparams/criself.sh: Likewise.
671 * emulparams/crislinux.sh: Likewise.
672 * emulparams/elf32_tic6x_le.sh: Likewise.
673 * emulparams/elf32bmipn32-defs.sh: Likewise.
674 * emulparams/elf32mb_linux.sh: Likewise.
675 * emulparams/elf32mep.sh: Likewise.
676 * emulparams/elf32microblaze.sh: Likewise.
677 * emulparams/elf32ppc.sh: Likewise.
678 * emulparams/elf64_s390.sh: Likewise.
679 * emulparams/elf64alpha.sh: Likewise.
680 * emulparams/elf_s390.sh: Likewise.
681 * emulparams/elf_x86_64.sh: Likewise.
682 * emulparams/tic80coff.sh: Likewise.
683 * emultempl/aix.em: Likewise.
684 * emultempl/avrelf.em: Likewise.
685 * emultempl/cr16elf.em: Likewise.
686 * emultempl/pe.em: Likewise.
687 * emultempl/pep.em: Likewise.
688 * emultempl/spuelf.em: Likewise.
689 * emultempl/tic6xdsbt.em: Likewise.
691 2013-01-10 Will Newton <will.newton@imgtec.com>
693 * Makefile.am: Add Meta.
694 * Makefile.in: Regenerate.
695 * configure.tgt: Add Meta.
696 * emulparams/elf32metag.sh: New file.
697 * emultempl/metagelf.em: New file.
699 2013-01-09 Alan Modra <amodra@gmail.com>
701 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
702 * emulparams/elf32_x86_64.sh: Likewise.
703 * emulparams/elf_k1om.sh: Likewise.
704 * emulparams/elf_l1om.sh: Likewise.
705 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
706 OTHER_BSS_SECTIONS. Substitute in script.
708 2013-01-08 Leif Ekblad <leif@rdos.net>
710 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
712 2013-01-08 Alan Modra <amodra@gmail.com>
714 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
715 "name" param with a bfd_link_needed_list pointer. Update caller.
716 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
718 2013-01-08 Alan Modra <amodra@gmail.com>
720 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
721 * Makefile.in: Regenerate.
723 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
725 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
728 2013-01-07 Patrice Dumas <pertusus@free.fr>
730 * ld.texinfo: Replace @ with @@ when it is part of the text.
731 Correct ordering of M68HC11 entry.
733 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
735 * configure.tgt: Support ELF files for Sony Playstation 2 (for
737 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
738 Playstation 2 ELF files using MIPS ABI n32.
739 * emulparams/elf32lr5900.sh: Create linker script for Sony
740 Playstation 2 ELF files using MIPS ABI o32.
741 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
744 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
746 * ldver.c (ldversion): Update copyright year to 2013.
748 For older changes see ChangeLog-2012
750 Copyright (C) 2013 Free Software Foundation, Inc.
752 Copying and distribution of this file, with or without modification,
753 are permitted in any medium without royalty provided the copyright
754 notice and this notice are preserved.
760 version-control: never