PowerPC TPREL16_HA/LO reloc optimization
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 64e7c743ad635c186815c5be8064f670a6e620e6..9e697e6505554dfb3cfc392ade0fa94fcb223184 100644 (file)
@@ -1,3 +1,184 @@
+2017-08-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tls.s: Add calls with tls markers.
+       * testsuite/ld-powerpc/tls32.s: Likewise.
+       * testsuite/ld-powerpc/powerpc.exp: Run tls marker tests.
+       * testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization.
+       * testsuite/ld-powerpc/tlsexe.d: Likewise.
+       * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
+       * testsuite/ld-powerpc/tlsld.d: Likewise.
+       * testsuite/ld-powerpc/tlsmark.d: Likewise.
+       * testsuite/ld-powerpc/tlsopt4.d: Likewise.
+       * testsuite/ld-powerpc/tlstoc.d: Likewise.
+
+2017-08-30  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/tls.d: Update.
+       * testsuite/ld-powerpc/tlsexe.d: Update.
+       * testsuite/ld-powerpc/tlsexetoc.d: Update.
+       * testsuite/ld-powerpc/tlsld.d: Update.
+       * testsuite/ld-powerpc/tlsmark.d: Update.
+       * testsuite/ld-powerpc/tlsopt4.d: Update.
+       * testsuite/ld-powerpc/tlstoc.d: Update.
+
+2017-08-30  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv.
+       * testsuite/ld-cris/dso-pltdis2.d,
+       testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d,
+       testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d,
+       testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d,
+       testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d,
+       testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d,
+       testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d,
+       testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d,
+       testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d,
+       testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d,
+       testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d,
+       testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d,
+       testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d,
+       testsuite/ld-cris/tls-dso-dtpoffd2.d,
+       testsuite/ld-cris/tls-dso-dtpoffd4.d,
+       testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
+       testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d,
+       testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d,
+       testsuite/ld-cris/tls-ldgdex-14.d,
+       testsuite/ld-cris/tls-ldgdex-15.d,
+       testsuite/ld-cris/tls-legdx-16.d,
+       testsuite/ld-cris/tls-legdx-17.d,
+       testsuite/ld-cris/tls-local-63.d,
+       testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d,
+       testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d,
+       testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d,
+       testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d,
+       testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d,
+       testsuite/ld-cris/weakref4.d: Likewise.
+
+2017-08-29  Jozef Lawrynowicz  <jozef.l@somniumtech.com>
+
+       * emultempl/msp430.em (change_output_section): New function.
+       (move_prefixed_section): New function.
+       (add_region_prefix): New function.
+       (msp430_elf_after_open): New function.
+       (gld${EMULATION_NAME}_add_options): Implement.
+       (gld${EMULATION_NAME}_list_options): Implement.
+       (gld${EMULATION_NAME}_handle_option): Implement.
+       * ld.texinfo: Document new options.
+       * testsuite/ld-msp430-elf/main-bss-lower.d: New.
+       * testsuite/ld-msp430-elf/main-bss-upper.d: New.
+       * testsuite/ld-msp430-elf/main-const-lower.d: New.
+       * testsuite/ld-msp430-elf/main-const-upper.d: New.
+       * testsuite/ld-msp430-elf/main-text-lower.d: New.
+       * testsuite/ld-msp430-elf/main-text-upper.d: New.
+       * testsuite/ld-msp430-elf/main-var-lower.d: New.
+       * testsuite/ld-msp430-elf/main-var-upper.d: New.
+       * testsuite/ld-msp430-elf/main-with-data-bss-unique-sec.s: New.
+       * testsuite/ld-msp430-elf/main-with-data-bss.s: New.
+       * testsuite/ld-msp430-elf/main-with-text-rodata-unique-sec.s: New.
+       * testsuite/ld-msp430-elf/main-with-text-rodata.s: New.
+       * testsuite/ld-msp430-elf/msp430-elf.exp: New.
+       * testsuite/ld-msp430-elf/msp430-no-lower.ld: New.
+       * testsuite/ld-msp430-elf/msp430.ld: New.
+       * emultempl/msp430.em (data_statement_size): New.
+       (eval_upper_either_sections): New.
+       (eval_lower_either_sections): New.
+       (intermediate_relax_sections): New.
+       (msp430_elf_after_allocation): New.
+       * emultempl/msp430.em (gld${EMULATION_NAME}_place_orphan): Always
+       place sections in the lower region.
+
+2017-08-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/21997
+       * testsuite/ld-i386/i386.exp: Run PR ld/21997 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr21997-1a.S: New file.
+       * testsuite/ld-i386/pr21997-1b.c: Likewise.
+       * testsuite/ld-i386/pr21997-1c.S: Likewise.
+       * testsuite/ld-x86-64/pr21997-1a.S: Likewise.
+       * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
+       * testsuite/ld-x86-64/pr21997-1b.c: Likewise.
+       * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
+       * testsuite/ld-x86-64/pr21997-1c.c: Likewise.
+
+2017-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/pr21903c.d: Remove '\' before --.
+       * testsuite/ld-elf/pr21903d.d: Likewise.
+       * testsuite/ld-elf/pr21903e.d: Likewise.
+       * testsuite/lib/ld-lib.exp (run_dump_test): Add "--" after
+       regexp.
+
+2017-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp (undefined_weak): Replace regexp
+       with string match.
+       * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise.
+
+2017-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/x86-64.exp: Run pr22001-1b on x32.
+
+2017-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/22001
+       * testsuite/ld-i386/i386.exp: Run -z nocopyreloc tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr22001-1a.c: New file.
+       * testsuite/ld-i386/pr22001-1b.c: Likewise.
+       * testsuite/ld-i386/pr22001-1c.S: Likewise.
+       * testsuite/ld-x86-64/pr22001-1a.c: Likewise.
+       * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
+       * testsuite/ld-x86-64/pr22001-1b.c: Likewise.
+       * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
+       * testsuite/ld-x86-64/pr22001-1c.c: Likewise.
+
+2017-08-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR 21961
+       * ldlang.c (lang_discard_section_p): New function.
+       (lang_add_section): Checks moved out into new function, which is
+       now called.
+       (lang_place_orphans): Call lang_discard_section_p instead of
+       duplicating some of the checks from lang_add_section.
+       * testsuite/ld-elf/orphan-11.d: New file.
+       * testsuite/ld-elf/orphan-11.ld: New file.
+       * testsuite/ld-elf/orphan-11.s: New file.
+       * testsuite/ld-elf/orphan-12.d: New file.
+       * testsuite/ld-elf/orphan-12.s: New file.
+
+2017-08-24  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-undefined/fundef.s: New test.
+       * testsuite/ld-undefined/undefined.exp: Test that undefined
+       symbols in shared libraries are made dynamic.
+
+2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/pr21903c.d: Add '\' before --.
+       * testsuite/ld-elf/pr21903d.d: Likewise.
+       * testsuite/ld-elf/pr21903e.d: Likewise.
+
+2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/pie2.d: Updated.
+       * testsuite/ld-x86-64/pr19719.d: Likewise.
+       * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
+       * testsuite/ld-x86-64/pr19969.d: Likewise.
+
+2017-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp: Run protected7.
+       * testsuite/ld-i386/protected7.d: New file.
+       * testsuite/ld-i386/protected7.s: Likewise.
+       * testsuite/ld-x86-64/protected8.d: Likewise.
+       * testsuite/ld-x86-64/protected8.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run protected8.
+
+2017-08-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-gc/pr19161.d: Don't xfail hppa.
+
 2017-08-22  H.J. Lu  <hongjiu.lu@intel.com>
            Alan Modra  <amodra@gmail.com>
 
This page took 0.025241 seconds and 4 git commands to generate.