diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-03-27 07:31:35 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-27 07:35:22 -0700 |
commit | 258e884429c87ed5ebee2b7767e3955218ec064b (patch) | |
tree | 0935b9d28f3cfce523272f8c7a07a316b95f1c56 /ld | |
parent | cacb9d871376da293c655efce8cf3a4f2feefbaa (diff) | |
download | fsf-binutils-gdb-258e884429c87ed5ebee2b7767e3955218ec064b.zip fsf-binutils-gdb-258e884429c87ed5ebee2b7767e3955218ec064b.tar.gz fsf-binutils-gdb-258e884429c87ed5ebee2b7767e3955218ec064b.tar.bz2 |
ld: Xfail pr20995-2 tests for Solaris
Xfail pr20995-2 tests for Solaris since Solaris doesn't support RELRO.
PR 25732
* testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 752453e..09b01b9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,6 +1,11 @@ 2020-03-27 H.J. Lu <hongjiu.lu@intel.com> PR 25732 + * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris. + +2020-03-27 H.J. Lu <hongjiu.lu@intel.com> + + PR 25732 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris. * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise. diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index b1762af..e9f2298 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -465,7 +465,7 @@ run_ld_link_tests [list \ "-shared -z relro" "" "$AFLAGS_PIC" \ {pr20995c.s} {{readelf {-l --wide} pr20995-2so.r}} "pr20995-2.so"] \ ] "tic6x-*-*" "arm*-*-eabi*" "hppa*64*-*-hpux*" "aarch64*-*-elf*" \ - "*-*-lynxos*" "arm*-*-nto*" "i?86-*-nto*" "sh*-*-nto*" + "*-*-lynxos*" "arm*-*-nto*" "i?86-*-nto*" "sh*-*-nto*" "*-*-solaris*" # These targets don't copy dynamic variables into .bss. setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*" @@ -486,7 +486,7 @@ run_ld_link_tests [list \ "pr20995-2" \ "$LFLAGS" "tmpdir/pr20995-2.so" "$AFLAGS_NONPIC" \ {pr20995a.s} {{readelf {-S --wide} pr20995.r}} "pr20995-2"] -] "*-*-lynxos*" "arm*-*-nto*" "i?86-*-nto*" "sh*-*-nto*" +] "*-*-lynxos*" "arm*-*-nto*" "i?86-*-nto*" "sh*-*-nto*" "*-*-solaris*" run_ld_link_tests [list \ [list "Build pr22374 shared library" \ |