]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ChangeLog
Place .shstrtab section after .symtab and .strtab, thus restoring monotonically incre...
[thirdparty/binutils-gdb.git] / ld / ChangeLog
index a82ce2b9a524bdb7c04504fbb38473dbe5289da8..f75c42cffeabf0dd598f28fc0546b267a0571670 100644 (file)
@@ -1,3 +1,372 @@
+2016-08-19  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
+       * testsuite/ld-alpha/tlsbinr.rd: Likewise.
+       * testsuite/ld-alpha/tlspic.rd: Likewise.
+       * testsuite/ld-cris/libdso-2.d: Likewise.
+       * testsuite/ld-i386/nogot1.d: Likewise.
+       * testsuite/ld-i386/pr12718.d: Likewise.
+       * testsuite/ld-i386/pr12921.d: Likewise.
+       * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsbin.rd: Likewise.
+       * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsbin2.rd: Likewise.
+       * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsbindesc.rd: Likewise.
+       * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsdesc.rd: Likewise.
+       * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsgdesc.rd: Likewise.
+       * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlsnopic.rd: Likewise.
+       * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlspic.rd: Likewise.
+       * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
+       * testsuite/ld-i386/tlspic2.rd: Likewise.
+       * testsuite/ld-ia64/tlsbin.rd: Likewise.
+       * testsuite/ld-ia64/tlspic.rd: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
+       * testsuite/ld-mmix/bspec1.d: Likewise.
+       * testsuite/ld-mmix/bspec2.d: Likewise.
+       * testsuite/ld-mmix/local1.d: Likewise.
+       * testsuite/ld-mmix/local3.d: Likewise.
+       * testsuite/ld-mmix/local5.d: Likewise.
+       * testsuite/ld-mmix/local7.d: Likewise.
+       * testsuite/ld-mmix/undef-3.d: Likewise.
+       * testsuite/ld-powerpc/tlsexe.r: Likewise.
+       * testsuite/ld-powerpc/tlsexe32.r: Likewise.
+       * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
+       * testsuite/ld-powerpc/tlsso.r: Likewise.
+       * testsuite/ld-powerpc/tlsso32.r: Likewise.
+       * testsuite/ld-powerpc/tlstocso.r: Likewise.
+       * testsuite/ld-s390/tlsbin.rd: Likewise.
+       * testsuite/ld-s390/tlsbin_64.rd: Likewise.
+       * testsuite/ld-s390/tlspic.rd: Likewise.
+       * testsuite/ld-s390/tlspic_64.rd: Likewise.
+       * testsuite/ld-sh/sh64/crange1.rd: Likewise.
+       * testsuite/ld-sh/sh64/crange2.rd: Likewise.
+       * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
+       * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
+       * testsuite/ld-sh/sh64/crange3.rd: Likewise.
+       * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
+       * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
+       * testsuite/ld-sh/tlsbin-2.d: Likewise.
+       * testsuite/ld-sh/tlspic-2.d: Likewise.
+       * testsuite/ld-sparc/gotop32.rd: Likewise.
+       * testsuite/ld-sparc/gotop64.rd: Likewise.
+       * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
+       * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
+       * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
+       * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
+       * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
+       * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
+       * testsuite/ld-tic6x/common.d: Likewise.
+       * testsuite/ld-tic6x/shlib-1.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
+       * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
+       * testsuite/ld-x86-64/ilp32-4.d: Likewise.
+       * testsuite/ld-x86-64/nogot1.d: Likewise.
+       * testsuite/ld-x86-64/pr12718.d: Likewise.
+       * testsuite/ld-x86-64/pr12921.d: Likewise.
+       * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/split-by-file.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
+       * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
+       * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
+       * testsuite/ld-x86-64/tlspic2.rd: Likewise.
+       * testsuite/ld-xtensa/tlsbin.rd: Likewise.
+       * testsuite/ld-xtensa/tlspic.rd: Likewise.
+
+2016-08-18  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
+       unresolved.
+
+2016-08-12  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
+       * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
+       * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
+       * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
+
+2016-08-12  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-undefined/weak-fundef.s: New.
+       * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
+       * testsuite/ld-undefined/weak-undef.exp: Run new tests.  Rearrange
+       much of old code.  Use is_elf_format to select targets.
+
+2016-08-11  Alan Modra  <amodra@gmail.com>
+
+       PR ld/20436
+       * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
+       remote_exec status.
+       (check_gcc_plugin_enabled): Likewise.  Revert previous patch.
+
+2016-08-11  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20436
+       * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
+       testing remotely, check to see if target compiler is installed
+       before trying to run it.
+
+2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       PR ld/15428
+       * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
+       test 2.
+
+2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
+       test.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
+       test.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
+       source.
+       * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
+       source.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2016-08-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/20436
+       * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
+       proc.
+       (check_lto_available): Return 0 if check_gcc_plugin_enabled
+       returns 0.
+       (check_lto_fat_available): Likewise.
+       (check_lto_shared_available): Likewise.
+
+2016-08-09  Roland McGrath  <roland@hack.frob.com>
+
+       * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
+2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * emultempl/armelf.em (cmse_implib): Declare and define this new
+       static variable.
+       (arm_elf_create_output_section_statements): Add new cmse_implib
+       parameter.
+       (OPTION_CMSE_IMPLIB): Define macro.
+       (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
+       (PARSE_AND_LIST_OPTIONS): Likewise.
+       (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
+       * ld.texinfo (--cmse-implib): Document new option.
+       * testsuite/ld-arm/arm-elf.exp
+       (Secure gateway import library generation): New test.
+       (Secure gateway import library generation: errors): Likewise.
+       * testsuite/ld-arm/cmse-implib.s: New file.
+       * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
+       * testsuite/ld-arm/cmse-implib.rd: Likewise.
+
+2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * ld.texinfo (Placement of SG veneers): New concept entry.
+       * testsuite/ld-arm/arm-elf.exp
+       (Secure gateway veneers: no .gnu.sgstubs section): New test.
+       (Secure gateway veneers: wrong entry functions): Likewise.
+       (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
+       (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
+       * testsuite/ld-arm/cmse-veneers.s: New file.
+       * testsuite/ld-arm/cmse-veneers.d: Likewise.
+       * testsuite/ld-arm/cmse-veneers.rd: Likewise.
+       * testsuite/ld-arm/cmse-veneers.sd: Likewise.
+       * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
+       * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
+
+2016-08-02  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/17739
+       * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
+       valye 'yes'.
+       * emulparams/shelf32.sh: Likewise.
+       * emulparams/shelf32.sh: Likewise.
+       * emulparams/shelf_nto.sh: Likewise.
+       * emulparams/shelf_nto.sh: Likewise.
+       * emulparams/shelf_vxworks.sh: Likewise.
+       * emulparams/shelf_vxworks.sh: Likewise.
+       * emulparams/shlelf32_linux.sh: Likewise.
+       * emulparams/shlelf32_linux.sh: Likewise.
+       * emulparams/shlelf_linux.sh: Likewise.
+       * emulparams/shlelf_linux.sh: Likewise.
+       * emulparams/shlelf_nto.sh: Likewise.
+       * emulparams/shlelf_nto.sh: Likewise.
+
+2016-07-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
+       patterns for branch compaction.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
+       Likewise.
+
+2016-07-27  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
+       test to targets which support cfi.
+
+2016-07-27  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * ldbuildid.c (generate_build_id): Warning fix.
+
+2016-07-26  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
+       * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
+       * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
+       test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
+       test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
+       New test.
+       * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
+       New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2016-07-26  Igor Kudrin  <ikudrin@accesssoftek.com>
+
+       * ldbuildid.c: Changes for MinGW32:
+       Include windows.h and rpcdce.h.
+       (validate_build_id_style): Allow "uuid" style.
+       (generate_build_id): Fill in id_bits using UuidCreate().
+
+2016-07-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
+       and m32r.  Correct comment.  Relax ld -r match to account for
+       msp increased number of default sections.
+
+2016-07-22  Cupertino Miranda  <cmiranda@synopsys.com>
+
+       * testsuite/ld-arc/got-01.d: New file.
+       * testsuite/ld-arc/got-01.s: New file.
+
+2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2016-07-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
+       "targets_to_xfail" parameter with "args".
+       * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
+       all calls to run_ld_link_exec_tests.
+       * testsuite/ld-elf/dwarf.exp: Likewise.
+       * testsuite/ld-elf/indirect.exp: Likewise.
+       * testsuite/ld-elf/wrap.exp: Likewise.
+       * testsuite/ld-i386/i386.exp: Likewise.
+       * testsuite/ld-i386/no-plt.exp: Likewise.
+       * testsuite/ld-i386/tls.exp: Likewise.
+       * testsuite/ld-ifunc/ifunc.exp: Likewise.
+       * testsuite/ld-pie/pie.exp: Likewise.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/ld-size/size.exp: Likewise.
+       * testsuite/ld-x86-64/mpx.exp: Likewise.
+       * testsuite/ld-x86-64/no-plt.exp: Likewise.
+       * testsuite/ld-x86-64/tls.exp: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-elf/elf.exp: Likewise.  Reorder args when providing
+       xfails and simplify lists.
+       * testsuite/ld-elf/shared.exp: Likewise.
+
+2016-07-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
+       parameter to pass list of xfails.
+       * testsuite/ld-elf/elf.exp: Add xfails for implib tests.  Tidy
+       implib test formatting.  Don't set .data start address.
+       * testsuite/ld-elf/implib.s: Remove first .bss directive and
+       replace second one with equivalent .section directive.
+       * testsuite/ld-elf/empty-implib.out: Add expected final error.
+       * testsuite/ld-elf/implib.rd: Update.
+
+2016-07-20  Alan Modra  <amodra@gmail.com>
+
+       * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
+       fold expression.
+       * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
+
+2016-07-19  Roland McGrath  <roland@hack.frob.com>
+
+       * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/aarch64elf32.sh: Likewise.
+
+2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
+       messages expected.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
+       * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
+       * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
+       source.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
+       source.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
 2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
 
        * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
        * testsuite/ld-plugin/pr20103c.c: Likewise.
 
 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
-    
+
        * testsuite/ld-mips-elf/jalx-local.d: New test.
        * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
        * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
 
        * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
 
+2016-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
+       Linux with GCC 4.9 or newer.
+       (check_lto_fat_available): Likewise.
+       (check_lto_shared_available): Likewise.
+
 2016-04-21  Nick Clifton  <nickc@redhat.com>
 
        * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in