ld: Xfail pr20995-2 tests for Solaris
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Mar 2020 14:31:35 +0000 (07:31 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Mar 2020 14:35:22 +0000 (07:35 -0700)
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.

ld/ChangeLog
ld/testsuite/ld-elf/shared.exp

index 752453e396232610904222863a3a39974e87bc9a..09b01b902516947b9a31cec5e066866e06136d24 100644 (file)
@@ -1,3 +1,8 @@
+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
index b1762aff9be16b94503676e4bdc5bc2a20199ce4..e9f229838f7a5d02005c156ddc77521fad128dae 100644 (file)
@@ -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" \