PR ld/22570: MIPS/BFD: Fix TLS relocation resolution for PIE executables
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 2065c6ea71fb6583bc8c28665eb64dbcfc8049c7..ea5468f7bf59cd469c529cd9304396a8a8479e96 100644 (file)
@@ -1,3 +1,288 @@
+2018-07-11  Maciej W. Rozycki  <macro@mips.com>
+
+       PR ld/22570
+       * testsuite/ld-mips-elf/tlsbin-pie-o32.d: New test.
+       * testsuite/ld-mips-elf/tlsbin-pie-o32.got: New test.
+       * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: New test.
+       * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2018-07-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/hash.d: Comment on mips xfail.
+       * testsuite/ld-gc/pr20022b.s: Use .data not .text.
+       * testsuite/ld-gc/pr20022.d: Remove xfails.
+       * testsuite/ld-scripts/fill.d: Revert most of last patch, but use
+       skip rather than notarget.
+       * testsuite/ld-scripts/fill16.d: Likewise.
+
+2018-07-10  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Limit export class call
+       relocation tests to shared library targets.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (check_gc_sections_available): Return 0
+       for xgate.
+       * testsuite/ld-elf/elf.exp: Add xgate to pr21703 xfails.
+       * testsuite/ld-elf/shared.exp: Add xgate to pr21703 xfails.
+       * testsuite/ld-discard/extern.d: xfail xgate.
+       * testsuite/ld-discard/start.d: Likewise.
+       * testsuite/ld-discard/static.d: Likewise.
+       * testsuite/ld-elf/attributes.d: Likewise.
+       * testsuite/ld-elf/compressed1d.d: Likewise.
+       * testsuite/ld-elf/group1.d: Likewise.
+       * testsuite/ld-elf/group3b.d: Likewise.
+       * testsuite/ld-elf/group8a.d: Likewise.
+       * testsuite/ld-elf/group8b.d: Likewise.
+       * testsuite/ld-elf/group9a.d: Likewise.
+       * testsuite/ld-elf/group9b.d: Likewise.
+       * testsuite/ld-elf/linkonce2.d: Likewise.
+       * testsuite/ld-elf/merge.d: Likewise.
+       * testsuite/ld-elf/merge2.d: Likewise.
+       * testsuite/ld-elf/merge3.d: Likewise.
+       * testsuite/ld-elf/orphan-10.d: Likewise.
+       * testsuite/ld-elf/orphan-9.d: Likewise.
+       * testsuite/ld-elf/orphan-region.d: Likewise.
+       * testsuite/ld-elf/orphan.d: Likewise.
+       * testsuite/ld-elf/orphan3.d: Likewise.
+       * testsuite/ld-elf/pr12851.d: Likewise.
+       * testsuite/ld-elf/pr12975.d: Likewise.
+       * testsuite/ld-elf/pr13177.d: Likewise.
+       * testsuite/ld-elf/pr13195.d: Likewise.
+       * testsuite/ld-elf/pr14156b.d: Likewise.
+       * testsuite/ld-elf/pr17550c.d: Likewise.
+       * testsuite/ld-elf/pr17550d.d: Likewise.
+       * testsuite/ld-elf/pr17615.d: Likewise.
+       * testsuite/ld-elf/pr20528a.d: Likewise.
+       * testsuite/ld-elf/pr20528b.d: Likewise.
+       * testsuite/ld-elf/pr21562a.d: Likewise.
+       * testsuite/ld-elf/pr21562b.d: Likewise.
+       * testsuite/ld-elf/pr21562c.d: Likewise.
+       * testsuite/ld-elf/pr21562d.d: Likewise.
+       * testsuite/ld-elf/pr21562i.d: Likewise.
+       * testsuite/ld-elf/pr21562j.d: Likewise.
+       * testsuite/ld-elf/pr21562k.d: Likewise.
+       * testsuite/ld-elf/pr21562l.d: Likewise.
+       * testsuite/ld-elf/pr21562m.d: Likewise.
+       * testsuite/ld-elf/pr21562n.d: Likewise.
+       * testsuite/ld-elf/pr22677.d: Likewise.
+       * testsuite/ld-elf/pr22836-1a.d: Likewise.
+       * testsuite/ld-elf/pr22836-1b.d: Likewise.
+       * testsuite/ld-elf/pr349.d: Likewise.
+       * testsuite/ld-elf/warn1.d: Likewise.
+       * testsuite/ld-elf/warn2.d: Likewise.
+       * testsuite/ld-elf/warn3.d: Likewise.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/xgateelf.sh (TEMPLATE_NAME) Set to generic.
+       (EXTRA_EM_FILE): Set to genelf.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/attributes.d: Use xfail rather than notarget.
+       * testsuite/ld-elf/hash.d: Likewise.
+       * testsuite/ld-elf/orphan-10.d: Likewise.
+       * testsuite/ld-elf/overlay.d: Likewise.
+       * testsuite/ld-elf/pr14926.d: Likewise.
+       * testsuite/ld-elf/pr17550d.d: Likewise.
+       * testsuite/ld-elf/pr19539.d: Likewise.
+       * testsuite/ld-elf/pr22319.d: Likewise.
+       * testsuite/ld-misc/defsym1.d: Likewise.
+       * testsuite/ld-pe/pr19803.d: Likewise.
+       * testsuite/ld-scripts/assign-loc.d: Likewise.
+       * testsuite/ld-scripts/defined4.d: Likewise.
+       * testsuite/ld-scripts/empty-address-1.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2a.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2b.d: Likewise.
+       * testsuite/ld-scripts/fill.d: Likewise.
+       * testsuite/ld-scripts/fill16.d: Likewise.
+       * testsuite/ld-scripts/pr14962.d: Likewise.
+       * testsuite/ld-scripts/pr14962-2.d: Likewise.
+       * testsuite/ld-unique/pr21529.d: Likewise.
+       * testsuite/ld-elf/compress1a.d: Likewise, and adjust targets.
+       * testsuite/ld-elf/compressed1a.d: Likewise.
+       * testsuite/ld-elf/compressed1d.d: Likewise.
+       * testsuite/ld-elf/compressed1e.d: Likewise.
+       * testsuite/ld-elf/eh5.d: Likewise.
+       * testsuite/ld-elf/group8a.d: Likewise.
+       * testsuite/ld-elf/linkonce2.d: Likewise.
+       * testsuite/ld-elf/orphan-9.d: Likewise.
+       * testsuite/ld-elf/pr17550a.d: Likewise.
+       * testsuite/ld-elf/pr17550b.d: Likewise.
+       * testsuite/ld-elf/pr17550c.d: Likewise.
+       * testsuite/ld-elf/pr19162.d: Likewise.
+       * testsuite/ld-elf/pr21884.d: Likewise.
+       * testsuite/ld-gc/pr19167.d: Likewise.
+       * testsuite/ld-gc/pr20022.d: Likewise.
+       * testsuite/ld-gc/start.d: Likewise.
+       * testsuite/ld-elf/orphan-11.d: Delete notarget.
+       * testsuite/ld-elf/orphan-12.d: Likewise.
+       * testsuite/ld-gc/stop.d: Likewise.
+       * testsuite/ld-scripts/empty-address-3a.d: Likewise.
+       * testsuite/ld-scripts/empty-address-3b.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-x86-64-now.d: Delete duplicate notarget.
+       * testsuite/ld-scripts/section-match-1.d: Comment fix.
+
+2018-07-10  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this.
+       * testsuite/ld-mips-elf/mips-elf.exp: Update accordingly.
+       Define `irix' as a shorthand for `[istarget *-*-irix*]' and use
+       it throughout.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the
+       end.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.dd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.dd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.gd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.sd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.ld: New test linker
+       script.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.ld: New test
+       linker script.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported'
+       if the target being tested has been excluded by means of one or
+       more of `target', `alltargets' and `notarget' tags.  Add support
+       for `skip', `anyskip' and `noskip' tags.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Move the setting of
+       `testname' earlier on and use it for test status reporting.
+
+2018-07-09  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-discard/extern.d: Remove m68hc12 xfail.
+       * testsuite/ld-discard/start.d: Likewise.
+       * testsuite/ld-discard/static.d: Likewise.
+
+2018-07-09  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use the right
+       symbol name in case of warning.
+
+2018-07-05  Jim Wilson  <jimw@sifive.com>
+
+       * configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*.
+
+2018-07-05  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to
+       `[istarget mips*-*-linux*]' with $linux_gnu.
+
+2018-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23372
+       * testsuite/ld-i386/i386.exp: Run pr23372a and pr23372b.
+       * testsuite/ld-i386/pr23372a.d: New file.
+       * testsuite/ld-i386/pr23372a.s: Likewise.
+       * testsuite/ld-i386/pr23372b.d: Likewise.
+       * testsuite/ld-i386/pr23372b.s: Likewise.
+       * testsuite/ld-i386/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372a.d: Likewise.
+       * testsuite/ld-x86-64/pr23372a.s: Likewise.
+       * testsuite/ld-x86-64/pr23372b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372b.d: Likewise.
+       * testsuite/ld-x86-64/pr23372b.s: Likewise.
+       * testsuite/ld-x86-64/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run pr23372a, pr23372a-x32,
+       pr23372b and pr23372b-x32.
+
+2018-07-05  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+       * po/pt_BR.po: Updated Brazilian Portuguese translation.
+
+2018-07-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/attr-gnu-4-12.d: Update expected output.
+       * testsuite/ld-powerpc/attr-gnu-4-13.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-21.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-23.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-31.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-4-32.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
+       * testsuite/ld-powerpc/attr-gnu-12-21.d: Likewise.
+
+2018-07-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23309
+       * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE.
+       * plugin.c (is_visible_from_outside): Don't scan entry_symbol.
+       * testsuite/ld-plugin/pr23309.c: New file.
+       * testsuite/ld-plugin/pr23309.d: Likewise.
+
+2018-07-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23358
+       * lexsup.c (elf_shlib_list_options): Properly display default
+       for -z separate-code.
+
+2018-07-02  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Fix a typo in PR ld/21334
+       test name.
+
+2018-07-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23324
+       * testsuite/ld-x86-64/pr23324.s: New file.
+       * testsuite/ld-x86-64/pr23324a.d: Likewise.
+       * testsuite/ld-x86-64/pr23324b.d: Likewise.
+
+2018-07-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-dis.c (select_arm_features): Fix typo in heading comment.  Allow
+       all FPU features and add mapping from new bfd_mach_arm values to
+       allowed CPU feature bits.
+
+2018-07-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * NEWS: Use command-line consistently when used in a compount word.
+       * ld.texinfo: Likewise.
+       * ldint.texinfo: Likewise.
+
+2018-06-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/uk.po: Updated Ukranian translation.
+
+2018-06-26  Alan Modra  <amodra@gmail.com>
+
+       PR 23169
+       * testsuite/ld-ifunc/ifunc.exp: Don't run pr23169 tests on
+       powerpc.  Comment.
+
 2018-06-26  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather
This page took 0.025663 seconds and 4 git commands to generate.