[PATCH 40/57][Arm][OBJDUMP] Add support for MVE instructions: vdup, veor, vfma, vfms...
[binutils-gdb.git] / ld / ChangeLog-2013
blobb996faf933c4d68b37b9d5e45bb5883abe301a65
1 2013-12-20  H.J. Lu  <hongjiu.lu@intel.com>
3         * emulparams/elf_k1om.sh (IREL_IN_PLT): Define.
4         * emulparams/elf_l1om.sh (IREL_IN_PLT): Likewise.
6 2013-12-13  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
7             Wei-Cheng Wang  <cole945@gmail.com>
8             Hui-Wen Ni  <sabrinanitw@gmail.com>
10         * Makefile.am (ALL_EMULATION_SOURCES): Add nds32 target.
11         * Makefile.in: Regenerate.
12         * configure.tgt: Add case for nds32*le-*-elf*, nds32*be-*-elf*,
13         nds32*le-*-linux-gnu*, and nds32*be-*-linux-gnu*.
14         * emulparams/nds32belf.sh: New file for nds32.
15         * emulparams/nds32belf_linux.sh: Likewise.
16         * emulparams/nds32belf16m.sh: Likewise.
17         * emulparams/nds32elf.sh: Likewise.
18         * emulparams/nds32elf_linux.sh: Likewise.
19         * emulparams/nds32elf16m.sh: Likewise.
20         * emultempl/nds32elf.em: Likewise.
21         * scripttempl/nds32elf.sc}: Likewise.
22         * gen-doc.texi: Set NDS32.
23         * ld.texinfo: Set NDS32.
24         * NEWS: Announce Andes nds32 support.
26 2013-12-11  H.J. Lu  <hongjiu.lu@intel.com>
28         * ld.texinfo: Remove shared object from -Ttext-segment.
30 2013-12-10  Roland McGrath  <mcgrathr@google.com>
32         * Makefile.am (install-exec-local): Prefix libtool invocation with
33         $(INSTALL_PROGRAM_ENV).
34         * Makefile.in: Regenerate.
36 2013-12-07  Mike Frysinger  <vapier@gentoo.org>
38         * ChangeLog-2008: Remove +x file mode.
39         * emulparams/bfin.sh: Likewise.
40         * emulparams/elf32bmipn32.sh: Likewise.
41         * emulparams/elf32fr30.sh: Likewise.
42         * emulparams/elf32frv.sh: Likewise.
43         * emulparams/elf32iq10.sh: Likewise.
44         * emulparams/elf32iq2000.sh: Likewise.
45         * emulparams/elf32mep.sh: Likewise.
46         * emulparams/elf32openrisc.sh: Likewise.
47         * emulparams/elf64bmip.sh: Likewise.
48         * emulparams/elf64hppa.sh: Likewise.
49         * emulparams/i386beos.sh: Likewise.
51 2013-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53         PR ld/16259
54         * Makefile.am (HOSTING_SLIBS): New.
55         * configure.host (HOSTING_SLIBS): New.  Used for PIE.
56         * configure.in (HOSTING_SLIBS): New AC_SUBST.
57         * Makefile.in: Regenerated.
58         * configure: Likewise.
60 2013-11-22  Cory Fields  <cory@coryfields.com>
62         * pe-dll.c (fill_edata): Only use a real timestamp if
63         --insert-timestamp was used.
64         * emultempl/pe.em: Add the --insert-timestamp option.
65         * emultempl/pep.em: Likewise for 64bit.
66         * ld.texinfo: Document the --insert-timestamp option.
68 2013-11-22  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
70         * scripttempl/avr.sc: Set .data section's LMA to next available
71         address in text region.
73 2013-11-21  Andrew Pinski  <apinski@cavium.com>
75         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
76         and eaarch64linux32b.c
77         (eaarch64linux32.c): New target.
78         (eaarch64linux32b.c): Likewise.
79         * Makefile.in: Regenerate.
80         * configure.tgt (aarch64_be-*-linux*): Add
81         aarch64linux32 and aarch64linux32b to targ_extra_libpath.
82         (aarch64-*-linux*): Likewise.
83         * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
84         * emulparams/aarch64linux32.sh: New file.
85         * emulparams/aarch64linux32b.sh: New file.
87 2013-11-21  Andrew Pinski  <apinski@cavium.com>
89         * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
90         into targ_extra_libpath.
91         (aarch64-*-linux*): Likewise.
93 2013-11-21  Nick Clifton  <nickc@redhat.com>
95         PR ld/16192
96         * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
97         newly allocated idata5 block.
99 2013-11-20  Nick Clifton  <nickc@redhat.com>
101         * scripttempl/elf32msp430.sc (.data): Set the based on the next
102         free location in the text memory region, not a computation based
103         upon the size of the text section.  Orphaned sections or other
104         linker scripts might insert new sections between the .text section
105         and the .data section.
106         * scripttempl/elf32msp430_3.sc (.data): Likewise.
108 2013-11-19  Roland McGrath  <mcgrathr@google.com>
109             Alan Modra  <amodra@gmail.com>
111         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
112         Don't use bfd_elf_record_link_assignment to mark __ehdr_start
113         hidden.  Instead, just do it directly here, and only if it was
114         referenced but not defined.
116 2013-11-18  Chung-Lin Tang  <cltang@codesourcery.com>
118         * emulparams/nios2linux.sh: New emulation file.
119         * configure.tgt: Add nios2*-*-linux* emulation case.
120         * Makefile.am (enios2linux.c): New emulation entry.
121         * Makefile.in: Regenerate.
123 2013-10-14  Nick Clifton  <nickc@redhat.com>
125         * emultempl/aix.em (_read_file): Close file at end of function.
127 2013-10-10  Roland McGrath  <mcgrathr@google.com>
129         * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
130         It silences some compilers' warnings and is much less bizarre to read.
132 2013-10-09  Roland McGrath  <mcgrathr@google.com>
134         * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
135         rather than a dummy assignment for unused parameter.
136         * plugin.c (get_input_file, release_input_file): Likewise.
138 2013-10-09  Nick Clifton  <nickc@redhat.com>
140         PR ld/16028
141         * ldmain.c (add_keepsyms_file): Close file at end of function.
143 2013-10-03  Will Newton  <will.newton@linaro.org>
145         * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
146         * emulparams/aarch64elf32.sh: Likewise.
148 2013-09-30  Nick Clifton  <nickc@redhat.com>
150         * emulparams/msp430all.sh: Update ARCH names.
152 2013-09-24  Alan Modra  <amodra@gmail.com>
154         * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
155         and cross-endian values.
156         * emulparams/elf64ppc.sh: Source elf32ppccomon.sh.  Delete duplicate,
157         and unset unwanted variables.
159 2013-09-24  Alan Modra  <amodra@gmail.com>
161         * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
162         sysrooted.  Also, don't always add tooldir when non-sysrooted.
163         Instead add both when native and tooldir also when TOOL_DIR is
164         defined.  Always prepend '=' to paths when sysrooted.  Always
165         put paths with LIBPATH_SUFFIX first in search order.
167 2013-09-20  Chung-Lin Tang  <cltang@codesourcery.com>
169         * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
170         * Makefile.in: Regenerate.
172 2013-09-20  Alan Modra  <amodra@gmail.com>
174         * configure: Regenerate.
176 2013-09-18  Tristan Gingold  <gingold@adacore.com>
178         * NEWS: Add marker for 2.24.
180 2013-09-17  Nick Clifton  <nickc@redhat.com>
182         PR ld/15957
183         * deffilep.y (def_file_add_directive): Avoid readin past end of
184         buffer.
186 2013-08-28  Nick Clifton  <nickc@redhat.com>
188         PR ld/15896
189         * ld.texinfo: Fix uses of MB abbreviation.
191 2013-08-26  Roland McGrath  <mcgrathr@google.com>
193         * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
194         * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
195         * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
197 2013-08-23  Roland McGrath  <mcgrathr@google.com>
199         * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
200         SIZEOF_HEADERS here; elf.sc does it already.
202 2013-08-23  Nick Clifton  <nickc@redhat.com>
204         PR ld/15839
205         * scripttempl/avr.sc: Do not include gc'able sections into general
206         sections during relocatable links.
208 2013-08-22  Christian Franke  <franke@computer.org>
210         * emultempl/pe.em: Add --disable-large-address-aware option.
211         * ld.texinfo (--disable-large-address-aware): Add documentation.
213 2013-08-14  Clemens Lang  <clemens.lang@fau.de>
215         * ldexp.c: Add LOG2CEIL() builtin function to linker script language
216         * ldgram.y: Likewise
217         * ldlex.l: Likewise
218         * NEWS: Mention the new feature.
219         * ld.texinfo: Document the new feature.
221 2013-07-19  Sebastian Huber  <sebastian.huber@embedded-brains.de>
223         * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
224         * ldlang.c: Likewise.
225         * ldlang.h: Likewise.
226         * ldlex.l: Likewise.
227         * mri.c: Likewise.
228         * ld.texinfo: Document new feature.
229         * NEWS: Mention new feature.
231 2013-07-18  Roland McGrath  <mcgrathr@google.com>
233         * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
234         argument ALIGNMENT_POWER, use it instead of constant 3.
236 2013-07-08  Jeff Law  <law@redhat.com>
238         * scripttempl/elf.sc: Handle function names and other text after
239         .text.unlikely too.
241 2013-07-08  Tristan Gingold  <gingold@adacore.com>
243         * scripttempl/ia64vms.sc: Add support of per data and per function
244         sections.
246 2013-07-01  Alan Modra  <amodra@gmail.com>
248         * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
249         ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
250         (gld${EMULATION_NAME}_after_allocation): Likewise.
252 2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
254         * emulparams/aarch64elf32.sh: New file.
256 2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
258         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
259         (eaarch64elf32b.c): New dependency and rule.
260         * Makefile.in: Re-generated.
261         * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
262         (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
263         * emulparams/aarch64elf32b.sh: New file.
265 2013-06-26  Yufeng Zhang  <yufeng.zhang@arm.com>
267         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
268         (eaarch64elf32.c): New dependency and rule.
269         * Makefile.in: Re-generated.
270         * configure.tgt (aarch64-*-elf): Add aarch64elf32.
271         (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
272         * emulparams/aarch64elf32.sh: New file.
274 2013-06-25  Maciej W. Rozycki  <macro@codesourcery.com>
276         * emultempl/mipself.em (insn32): New variable.
277         (mips_create_output_section_statements): Handle insn32 mode.
278         (PARSE_AND_LIST_PROLOGUE): New macro.
279         (PARSE_AND_LIST_LONGOPTS): Likewise.
280         (PARSE_AND_LIST_OPTIONS): Likewise.
282         * gen-doc.texi: Set MIPS.
283         * ld.texinfo: Likewise.
284         (Options specific to MIPS targets): New section.
285         (ld and MIPS family): New node.
286         (Top, Machine Dependent): List the new node.
288 2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
290         * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
291         as close to .plt as possible.
292         * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
293         $PLT_NEXT_DATA variables.
295 2013-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
297         * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
298         (ALL_64_EMULATION_SOURCES): ...here.
299         * Makefile.in: Regenerate.
301 2013-06-22  Richard Sandiford  <rdsandiford@googlemail.com>
303         * NEWS: Document the removal of MIPS ECOFF targets.
304         * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
305         MIPS ECOFF as an example of a target that supports small data.
306         * ldmain.c (g_switch_value): Likewise.
307         * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
308         (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
309         (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
310         * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
311         emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
312         (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
313         (emipslnews.c, emipspe.c): Delete rules.
314         * Makefile.in: Regenerate.
315         * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
316         emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
317         emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
318         * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
319         has now been removed.
320         * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
322 2013-06-19  Will Newton  <will.newton@linaro.org>
324         * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
326 2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
328         * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
330 2013-06-12  Nick Clifton  <nickc@redhat.com>
332         * ldcref.c (output_one_cref): Place common definitions after
333         ordinary definitions but before references.
335 2013-06-10  Dilyan Palauzov  <dilyan.palauzov@aegee.org>
337         PR ld/15598
338         * ld.texinfo (Source Code Reference): Fix typos.
340 2013-06-07  Will Newton  <will.newton@linaro.org>
342         * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
344 2013-06-07  Nick Clifton  <nickc@redhat.com>
346         * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
347         option must appear before the SEGMENT_START is encountered in
348         order for the default value to be overridden.
350 2013-05-03  Alan Modra  <amodra@gmail.com>
352         PR ld/15365
353         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
354         Restrict __ehdr_start's export class to no less than STV_HIDDEN.
356 2013-05-03  Alan Modra  <amodra@gmail.com>
358         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
359         Only call lang_for_each_statement if an ELF hash table is used.
361 2013-05-02  Nick Clifton  <nickc@redhat.com>
363         * Makefile.am: Add emsp430X.c
364         * Makefine.in: Regenerate.
365         * configure.tgt (msp430): Add msp430X emulation.
366         * ldmain.c (multiple_definition): Only disable relaxation if it
367         was enabled by the user.
368         * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
369         * emulparams/msp430all.sh: Add support for MSP430X.
370         * emultempl/generic.em: (before_parse): Enable relaxation for the
371         MSP430.
372         * scripttempl/msp430.sc: Reorganize sections.  Add .rodata
373         section.
374         * scripttempl/msp430_3.sc: Likewise.
375         * NEWS: Mention support for MSP430X.
377 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
379         * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
380         alpha*-*-linux*ecoff*.  Update the `sed' pattern used to convert
381         from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
383 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
385         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
386         Use is_elf_hash_table rather than a handcoded condition.
388 2013-04-30  Nick Clifton  <nickc@redhat.com>
390         * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
391         are sorted by descending order of alignment.
393 2013-04-29  Nick Clifton  <nickc@redhat.com>
395         * scripttempl/DWARF.sc: Add support for .debug_line.* and
396         .debug_line_end.
398 2013-04-29  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
400         * emultempl/pe.em [cygwin]: Do not merge rdata with v2
401         psuedo-relocs.
403 2013-04-28  Thomas Schwinge  <thomas@codesourcery.com>
405         * scripttempl/armbpabi.sc: Replace "source" usage with ".".
406         * scripttempl/avr.sc: Likewise.
407         * scripttempl/elf.sc: Likewise.
408         * scripttempl/elf32cr16.sc: Likewise.
409         * scripttempl/elf32crx.sc: Likewise.
410         * scripttempl/elf32msp430.sc: Likewise.
411         * scripttempl/elf32msp430_3.sc: Likewise.
412         * scripttempl/elf32sh-symbian.sc: Likewise.
413         * scripttempl/elf64hppa.sc: Likewise.
414         * scripttempl/elf_chaos.sc: Likewise.
415         * scripttempl/elfd10v.sc: Likewise.
416         * scripttempl/elfd30v.sc: Likewise.
417         * scripttempl/elfi370.sc: Likewise.
418         * scripttempl/elfm68hc11.sc: Likewise.
419         * scripttempl/elfm68hc12.sc: Likewise.
420         * scripttempl/elfxgate.sc: Likewise.
421         * scripttempl/elfxtensa.sc: Likewise.
422         * scripttempl/epiphany_4x4.sc: Likewise.
423         * scripttempl/i386beos.sc: Likewise.
424         * scripttempl/i386go32.sc: Likewise.
425         * scripttempl/ia64vms.sc: Likewise.
426         * scripttempl/ip2k.sc: Likewise.
427         * scripttempl/iq2000.sc: Likewise.
428         * scripttempl/mep.sc: Likewise.
429         * scripttempl/mmo.sc: Likewise.
430         * scripttempl/v850.sc: Likewise.
431         * scripttempl/v850_rh850.sc: Likewise.
432         * scripttempl/xstormy16.sc: Likewise.
434 2013-04-26  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
436         * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
438 2013-04-26  Alan Modra  <amodra@gmail.com>
440         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
441         unresolved_syms_in_shared_libs rather than !executable to
442         determine whether to load DT_NEEDED libraries.
444 2013-04-25  Alan Modra  <amodra@gmail.com>
446         * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
447         (eelf32lppclinux.c): New rule.
448         * Makefile.in: Regenerate.
449         * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
450         with corresponding little-endian targets.
451         * emulparams/elf32lppc.sh: Update comment.
452         * emulparams/elf32lppclinux.sh: New.
454 2013-04-24  H.J. Lu  <hongjiu.lu@intel.com>
456         * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
457         x86_64-*-elf*.
458         (targ_extra_libpath): Likewise.
459         (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
461 2013-04-24  Yufeng Zhang  <yufeng.zhang@arm.com>
463         * emulparams/aarch64elf.sh: Define ELFSIZE=64.
464         * emulparams/aarch64linux.sh: Ditto.
465         * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
466         Replace elf64 with elf${ELFSIZE}.
467         (elf64_aarch64_add_stub_section): Likewise.
468         (build_section_lists): Likewise.
469         (gld${EMULATION_NAME}_after_allocation): Likewise.
470         (gld${EMULATION_NAME}_finish): Likewise.
471         (aarch64_elf_create_output_section_statements): Likewise.
473 2013-04-24  Nick Clifton  <nickc@redhat.com>
475         PR ld/15389
476         * scripttempl/avr.sc: Add .note.gnu.build-id section.
478 2013-04-22  Alan Modra  <amodra@gmail.com>
480         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
481         Check return from ppc64_elf_init_stub_bfd.
483 2013-04-15  Nick Clifton  <nickc@redhat.com>
485         * Makefile.am (ELF_DEPS): Add a dependency upon
486         scripttempl/DWARF.sc.
487         (ELF_GEN_DEPS): Likewise.
488         (emmo.c): Likewise.
489         * Makefile.in: Regenerate.
491         * scripttempl/armbpabi.sc: Replace DWARF sections with an
492         inclusion of DWARF.sc.
493         * scripttempl/avr.sc: Likewise.
494         * scripttempl/elf.sc: Likewise.
495         * scripttempl/elf32cr16.sc: Likewise.
496         * scripttempl/elf32crx.sc: Likewise.
497         * scripttempl/elf32msp430.sc: Likewise.
498         * scripttempl/elf32msp430_3.sc: Likewise.
499         * scripttempl/elf32sh-symbian.sc: Likewise.
500         * scripttempl/elf64hppa.sc: Likewise.
501         * scripttempl/elf_chaos.sc: Likewise.
502         * scripttempl/elfd10v.sc: Likewise.
503         * scripttempl/elfd30v.sc: Likewise.
504         * scripttempl/elfi370.sc: Likewise.
505         * scripttempl/elfm68hc11.sc: Likewise.
506         * scripttempl/elfm68hc12.sc: Likewise.
507         * scripttempl/elfxgate.sc: Likewise.
508         * scripttempl/elfxtensa.sc: Likewise.
509         * scripttempl/epiphany_4x4.sc: Likewise.
510         * scripttempl/i386beos.sc: Likewise.
511         * scripttempl/i386go32.sc: Likewise.
512         * scripttempl/ia64vms.sc: Likewise.
513         * scripttempl/ip2k.sc: Likewise.
514         * scripttempl/iq2000.sc: Likewise.
515         * scripttempl/mep.sc: Likewise.
516         * scripttempl/mmo.sc: Likewise.
517         * scripttempl/v850.sc: Likewise.
518         * scripttempl/v850_rh850.sc: Likewise.
519         * scripttempl/xstormy16.sc: Likewise.
520         * scripttempl/DWARF.sc: New.
522 2013-04-04  Alan Modra  <amodra@gmail.com>
524         * ldlang.c (load_symbols): Report "error adding symbols" on
525         bfd_link_add_symbols failure.
526         * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
527         * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
528         (gld${EMULATION_NAME}_try_needed): Likewise.
530 2013-03-27  Georg-Johann Lay  <gjl@gcc.gnu.org>
532         PR ld/13812
533         * scripttempl/avr.sc: Place trampolines before .progmem section.
535 2013-03-25  Kai Tietz  <ktietz@redhat.com>
537         * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
539 2013-03-21  Michael Schewe  <michael.schewe@gmx.net>
541         * ld.texinfo (H8/300): Add description of relaxation of
542         mov @(disp:32,ERx) to mov @(disp:16,ERx).
544 2013-03-21  Kai Tietz  <ktietz@redhat.com>
546         * pe-dll.c (process_def_file_and_drectve): Don't handle VC
547         generated C++-symbols as stdcall/fastcall.
549 2013-03-18  Alan Modra  <amodra@gmail.com>
551         * ld.texinfo (--as-needed): Update.
553 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
555         * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
556         aarch64linux* emulations.
558 2013-03-07  Alan Modra  <amodra@gmail.com>
560         * ldfile.c (ldfile_open_command_file_1): Return after einfo
561         to avoid warning.
563 2013-03-05  Corinna Vinschen  <vinschen@redhat.com>
565         * configure.host: Add x86_64-*-cygwin* as valid host.
566         * configure.tgt: Add x86_64-*-cygwin* as valid target.
567         * emultempl/pep.em: Handle different requirements for Cygwin in terms
568         of start addresses for executables and DLLs, based on memory model in
569         http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
571 2013-03-05  Alan Modra  <amodra@gmail.com>
573         PR ld/15222
574         * ldlang.c (lang_size_sections_1): When given an lma_region align
575         LMA as per VMA only if lma_region is the same as region.
577 2013-02-27  Nick Clifton  <nickc@redhat.com>
579         * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
580         Add alignment of .bss section.
581         * scripttempl/elf32msp430_3.sc: Likewise.
583 2013-02-26  Nick Clifton  <nickc@redhat.com>
585         PR ld/15188
586         * ld.texinfo: Fix typos.
588 2013-02-21  Alan Modra  <amodra@gmail.com>
590         * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
591         .init_array/.fini_array input sections before .ctors/.dtors input
592         sections.
593         (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
595 2013-02-21  Alan Modra  <amodra@gmail.com>
597         * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
598         for elf_tdata changes.
600 2013-02-21  Alan Modra  <amodra@gmail.com>
602         * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
603         accessor macros.
605 2013-02-20  Alan Modra  <amodra@gmail.com>
607         * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
608         * Makefile.in: Regenerate.
610 2013-02-19  Sandra Loosemore  <sandra@codesourcery.com>
612         PR ld/15146
613         * plugin.c (plugin_notice): Add null check before dereferencing
614         pointer.
616 2013-02-19  Alan Modra  <amodra@gmail.com>
618         * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
619         Replace all info->emit_note_gnu_build_id refs.
620         (id_note_section_size): Rename from
621         gld${EMULATION_NAME}_id_note_section_size.
622         (struct build_id_info): Delete.
623         (write_build_id): Rename from
624         gld${EMULATION_NAME}_write_build_id_section.
625         Update elf_tdata usage.  Style, formatting.
626         (setup_build_id): New function.
627         (gld${EMULATION_NAME}_after_open): Use setup_build_id.
629 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
631         PR ld/15146
632         * plugin.c (plugin_notice): Replace the undefined dummy bfd with
633         the real one.
635 2013-02-16  H.J. Lu  <hongjiu.lu@intel.com>
637         PR ld/15141
638         * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
640 2013-02-15  Kai Tietz  <ktietz@redhat.com>
642         * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
643         (.pdata): Merge .pdata* into .pdata section.
645 2013-02-11  Alan Modra  <amodra@gmail.com>
647         * ldlang.c (get_init_priority): Comment typo.
648         (lang_finish): Free link_info.hash and lang_definedness_table.
649         (lang_end): Delete lang_definedness_table comment.
651 2013-02-11  Alan Modra  <amodra@gmail.com>
653         PR ld/15130
654         * ld.texinfo (-rpath-link): Typo fix.
656 2013-02-08  Markos Chandras  <markos.chandras@imgtec.com>
658         * emultempl/metagelf.em (build_section_lists): Use sec_info_type
659         rather than userdata->flags.just_syms.
661 2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
662             Andrew Jenner <andrew@codesourcery.com>
664         Based on patches from Altera Corporation.
666         * Makefile.am (enios2elf.c): New rule.
667         * Makefile.in: Regenerated.
668         * configure.tgt: Add case for nios2*-*-*.
669         * emulparams/nios2elf.sh: New file.
670         * NEWS: Note Altera Nios II support.
672 2013-02-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
674         * emultempl/avrelf.em (avr_elf_before_parse): New function.
675         (LDEMUL_BEFORE_PARSE): Define.
677 2013-02-06  Alan Modra  <amodra@gmail.com>
679         PR ld/15096
680         * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
681         * emultempl/alphaelf.em: Revert 2013-02-04.
682         * emultempl/cr16elf.em: Likewise.
683         * emultempl/crxelf.em: Likewise.
684         * emultempl/hppaelf.em: Likewise.
685         * emultempl/ia64elf.em: Likewise.
686         * emultempl/mipself.em: Likewise.
687         * NEWS: Revert 2013-01-21.
689 2013-02-04  H.J. Lu  <hongjiu.lu@intel.com>
691         PR ld/15096
692         * emultempl/alphaelf.em (alpha_after_parse): Call
693         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
694         * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
695         * emultempl/crxelf.em (crxelf_after_parse): Likewise.
696         * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
697         * emultempl/mipself.em (mips_after_parse): Likewise.
699         * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
700         to ...
701         (gld_${EMULATION_NAME}_after_parse): This.  Call
702         gld${EMULATION_NAME}_after_parse instead of after_parse_default.
703         (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
705         * emultempl/elf32.em (new_dtags_set): New variable.
706         (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
707         here.
708         (gld${EMULATION_NAME}_after_parse): New function.
709         (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
710         with gld${EMULATION_NAME}_after_parse.
711         (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
712         when setting link_info.new_dtags.
714 2013-01-25  Kai Tietz  <ktietz@redhat.com>
716         * deffilep.y (def_image_name): Adjust type of base-address
717         argument.
718         (%union): Add new type bfd_vma as vma.
719         (VMA):  New rule.
720         (opt_base): Use VMA instead of NUMBER rule to evaluate value.
721         (def_file_print): Use bfd's fprintf_vma to output base-address.
723 2013-01-24  Nick Clifton  <nickc@redhat.com>
725         * NEWS: Mention support for V850E3V5 architecture.
727 2013-01-23  Martin Koegler  <martin.koegler@chello.at>
729         PR ld/15041
730         * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
731         (.xdata): Similarly.
732         (.debug_frame): Similarly.
734 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
736         PR ld/15037
737         * scripttempl/avr.sc (.eeprom): Keep it.
739 2013-01-23  Leif Ekblad  <leif@rdos.net>
741         * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
742         (eelf64rdos.c): New rule.
743         * emulparams/elf64rdos.sh: New file.
744         * configure.tgt (x86_64-*-rdos*): Use above.
745         * Makefile.in: Regenerate.
747 2013-01-22  Roland McGrath  <mcgrathr@google.com>
749         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
750         new_dtags to TRUE for *-*-nacl* targets.
752 2013-01-21  Mike Frysinger  <vapier@gentoo.org>
754         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
755         link_info.new_dtags to TRUE for linux/gnu targets.
756         * NEWS: Mention new dtags default.
758 2013-01-19  H.J. Lu  <hongjiu.lu@intel.com>
760         * Makefile.am (HOSTING_SCRT0): New.
762         * configure.host (HOSTING_SCRT0): New.  Used for PIE.
764         * configure.in (HOSTING_SCRT0): New AC_SUBST.
766         * Makefile.in: Regenerated.
767         * configure: Likewise.
769 2013-01-18  Mike Frysinger  <vapier@gentoo.org>
771         * NEWS: Mention change in behavior with --enable-new-dtags.
772         * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
774 2013-01-14  Leif Ekblad <leif@rdos.net>
775             Alan Modra  <amodra@gmail.com>
777         * ld.texinfo (-Tldata-segment): Describe.
778         * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
779         * lexsup.c (ld_options): Add -Tldata-segment.
780         (parse_args): Handle OPTION_TLDATA_SEGMENT.
781         * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
783 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
785         * deffilep.y: Remove trailing white spaces.
786         * elf-hints-local.h: Likewise.
787         * ldexp.c: Likewise.
788         * ldlang.h: Likewise.
789         * ldmisc.c: Likewise.
790         * ldwrite.c: Likewise.
791         * pe-dll.c: Likewise.
792         * emulparams/criself.sh: Likewise.
793         * emulparams/crislinux.sh: Likewise.
794         * emulparams/elf32_tic6x_le.sh: Likewise.
795         * emulparams/elf32bmipn32-defs.sh: Likewise.
796         * emulparams/elf32mb_linux.sh: Likewise.
797         * emulparams/elf32mep.sh: Likewise.
798         * emulparams/elf32microblaze.sh: Likewise.
799         * emulparams/elf32ppc.sh: Likewise.
800         * emulparams/elf64_s390.sh: Likewise.
801         * emulparams/elf64alpha.sh: Likewise.
802         * emulparams/elf_s390.sh: Likewise.
803         * emulparams/elf_x86_64.sh: Likewise.
804         * emulparams/tic80coff.sh: Likewise.
805         * emultempl/aix.em: Likewise.
806         * emultempl/avrelf.em: Likewise.
807         * emultempl/cr16elf.em: Likewise.
808         * emultempl/pe.em: Likewise.
809         * emultempl/pep.em: Likewise.
810         * emultempl/spuelf.em: Likewise.
811         * emultempl/tic6xdsbt.em: Likewise.
813 2013-01-10  Will Newton <will.newton@imgtec.com>
815         * Makefile.am: Add Meta.
816         * Makefile.in: Regenerate.
817         * configure.tgt: Add Meta.
818         * emulparams/elf32metag.sh: New file.
819         * emultempl/metagelf.em: New file.
821 2013-01-09  Alan Modra  <amodra@gmail.com>
823         * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
824         * emulparams/elf32_x86_64.sh: Likewise.
825         * emulparams/elf_k1om.sh: Likewise.
826         * emulparams/elf_l1om.sh: Likewise.
827         * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
828         OTHER_BSS_SECTIONS.  Substitute in script.
830 2013-01-08  Leif Ekblad  <leif@rdos.net>
832         * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
834 2013-01-08  Alan Modra  <amodra@gmail.com>
836         * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
837         "name" param with a bfd_link_needed_list pointer.  Update caller.
838         (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
840 2013-01-08  Alan Modra  <amodra@gmail.com>
842         * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
843         * Makefile.in: Regenerate.
845 2013-01-07  H.J. Lu  <hongjiu.lu@intel.com>
847         * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
848         compatibility.
850 2013-01-07  Patrice Dumas  <pertusus@free.fr>
852         * ld.texinfo: Replace @ with @@ when it is part of the text.
853         Correct ordering of M68HC11 entry.
855 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
857         * configure.tgt: Support ELF files for Sony Playstation 2 (for
858         ps2dev and ps2sdk).
859         * emulparams/elf32lr5900n32.sh: Create linker script for Sony
860         Playstation 2 ELF files using MIPS ABI n32.
861         * emulparams/elf32lr5900.sh: Create linker script for Sony
862         Playstation 2 ELF files using MIPS ABI o32.
863         * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
864         files.
866 2013-01-02  H.J. Lu  <hongjiu.lu@intel.com>
868         * ldver.c (ldversion): Update copyright year to 2013.
870 For older changes see ChangeLog-2012
872 Copyright (C) 2013 Free Software Foundation, Inc.
874 Copying and distribution of this file, with or without modification,
875 are permitted in any medium without royalty provided the copyright
876 notice and this notice are preserved.
878 Local Variables:
879 mode: change-log
880 left-margin: 8
881 fill-column: 74
882 version-control: never
883 End: