]> 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 826ea7c8325a1b8204d3d5759f3e14afd58f9089..f75c42cffeabf0dd598f28fc0546b267a0571670 100644 (file)
@@ -1,3 +1,546 @@
+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
+       expected.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
+       * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
+       microMIPS BAL and MIPS16 instructions.
+       * testsuite/ld-mips-elf/undefweak-overflow.d: Update
+       accordingly.
+       * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
+       * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
+       * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
+       * testsuite/ld-mips-elf/unaligned-jump.d: New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2016-07-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * plugin.c (plugin_call_claim_file): Restore the file offset after
+       an unsuccessful attempt to claim a file.
+       * testplug.c (bytes_to_read_before_claim): New global.
+       (record_read_length): New function, sets new global
+       bytes_to_read_before_claim.
+       (parse_option): Handle 'read:<NUMBER>' option.
+       (onclaim_file): Read file content before checking for claim.
+       * testsuite/ld-plugin/plugin-30.d: New file.
+       * testsuite/ld-plugin/plugin.exp: Add new test.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * plugin.c: Don't include libbfd.h.  Include plugin-api.h
+       before bfd/plugin.h.
+       (plugin_object_p): Use bfd_plugin_open_input.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c (open_output): Replace bfd_search_for_target with
+       bfd_iterate_over_targets.  Localize vars.
+
+2016-07-16  Alan Modra  <amodra@gmail.com>
+
+       * ldlang.c: Don't include libbfd.h.
+       * emultempl/nds32elf.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/ppc32elf.em: Likewise.
+       (pagesize): Delete.
+       (params): Update init.
+       (ppc_after_open_output): Use params.pagesize.  Don't call bfd_log2.
+       (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
+       * emultempl/sh64elf.em: Don't include libbfd.h.
+       (after_allocation): Use ASSERT, not BFD_ASSERT.
+       * emultempl/xtensaelf.em: Don't include libbfd.h.
+       (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
+       * Makefile.am: Update dependencies.
+       * Makefile.in: Regenerate.
+
+2016-07-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
+       library file for writing and initialize implib_bfd field of link_info
+       structure.
+       * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
+       (OPTION_IMPLIB_FILENAME): Remove macro definition.
+       (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
+       (gld_${EMULATION_NAME}_list_options): Likewise.
+       (gld${EMULATION_NAME}_handle_option): Likewise.
+       (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
+       instead of pe_implib_filename.
+       * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
+       (OPTION_IMPLIB_FILENAME): Remove enumerator.
+       (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
+       (gld_${EMULATION_NAME}_list_options): Likewise.
+       (gld${EMULATION_NAME}_handle_option): Likewise.
+       (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
+       instead of pep_implib_filename.
+       * ld.h (args_type): Declare new out_implib_filename field.
+       * ld.texinfo (--out-implib): Move documentation to arch-independent
+       part and rephrase to apply to ELF targets.
+       * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
+       defined in linker scripts.
+       * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
+       enumerator.
+       * lexsup.c (ld_options): Add entry for new --out-implib switch.
+       (parse_args): Handle OPTION_OUT_IMPLIB case.
+       * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
+       (Generate import library): Likewise.
+       * testsuite/ld-elf/implib.s: Likewise.
+       * testsuite/ld-elf/implib.rd: New file.
+       * testsuite/ld-elf/empty-implib.out: Likewise
+
+2016-07-15  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
+       little endian mode.
+
+2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Run
+       `branch-absolute-addend', `mips16-branch-absolute',
+       `mips16-branch-absolute-addend' and
+       `micromips-branch-absolute-addend'.
+
+2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
+       test.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
+       test.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
+       test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
+       from `mips16-branch-absolute' and
+       `mips16-branch-absolute-addend', referred indirectly only.
+
+2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/ld-mips-elf/branch-absolute.d: New test.
+       * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
+       * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
+       * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
+       * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
+       * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
+       test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
+       test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
+       test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
+       New test.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
+       New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
+       from `branch-absolute-addend' and
+       `micromips-branch-absolute-addend', referred indirectly only.
+
+2016-07-14  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
+       * testsuite/ld-arc/sda-relocs.dd: New file.
+       * testsuite/ld-arc/sda-relocs.ld: Likewise.
+       * testsuite/ld-arc/sda-relocs.rd: Likewise.
+       * testsuite/ld-arc/sda-relocs.s: Likewise.
+       * testsuite/ld-arc/arc.exp: Add SDA tests.
+
+2016-07-11  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/nps-1b.err: Update test to handle more
+       verbosity.
+
+2016-07-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/elfv2exe.d: Update.
+
+2016-07-06  James Bowman  <james.bowman@ftdichip.com>
+
+       * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
+       (DATA): add ALIGN.
+        (BSS): add ALIGN
+
 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
        * 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