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