diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-04-08 13:54:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-04-08 13:55:37 -0700 |
commit | c93c0e7f3f21f809d9390e2e7096f7e2cb8334e2 (patch) | |
tree | da1ea7a5fb0fe41241b1e84937032c79610712c4 | |
parent | 56be6ea89cdf94078d5dff3734b8c1970dbf52fa (diff) | |
download | gdb-c93c0e7f3f21f809d9390e2e7096f7e2cb8334e2.zip gdb-c93c0e7f3f21f809d9390e2e7096f7e2cb8334e2.tar.gz gdb-c93c0e7f3f21f809d9390e2e7096f7e2cb8334e2.tar.bz2 |
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.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2ac6cdd..0c7d99c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 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. (eelf_i386_chaos.c): Removed. * Makefile.in: Regenerated. diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index fc19bc0..742fe97 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -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" \ |