XFAIL PR ld/20995 tests for lynxos and nto targets

lynxos and nto targets don't support RELRO.

	* testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
	lynxos and nto targets.
This commit is contained in:
H.J. Lu 2019-04-08 13:54:20 -07:00
parent 56be6ea89c
commit c93c0e7f3f
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
lynxos and nto targets.
2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.

View File

@ -432,7 +432,8 @@ run_ld_link_tests [list \
[list "Build pr20995-2.so" \
"-shared -z relro" "" "$AFLAGS_PIC" \
{pr20995c.s} {{readelf {-l --wide} pr20995-2so.r}} "pr20995-2.so"] \
] "tic6x-*-*" "arm*-*-eabi*" "hppa*64*-*-hpux*" "aarch64*-*-elf*"
] "tic6x-*-*" "arm*-*-eabi*" "hppa*64*-*-hpux*" "aarch64*-*-elf*" \
"*-*-lynxos*" "*-*-nto*"
# These targets don't copy dynamic variables into .bss.
setup_xfail "alpha-*-*" "bfin-*-*" "ia64-*-*" "xtensa-*-*"
@ -452,7 +453,8 @@ run_ld_link_tests [list \
[list \
"pr20995-2" \
"$LFLAGS" "tmpdir/pr20995-2.so" "$AFLAGS_NONPIC" \
{pr20995a.s} {{readelf {-S --wide} pr20995.r}} "pr20995-2"]]
{pr20995a.s} {{readelf {-S --wide} pr20995.r}} "pr20995-2"]
] "*-*-lynxos*" "*-*-nto*"
run_ld_link_tests [list \
[list "Build pr22374 shared library" \