From 11459a79d97842a64961a35472bb8d67ed0fcf22 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 10 Aug 2018 07:53:50 -0700 Subject: [PATCH] Skip PR binutils/23494 tests for nacl targets PR binutils/23494 tests pass "-O elf64-x86-64" and "-O elf32-x86-64" to objcopy which may not supported for nacl targets. This patch skips these tests for nacl targets. * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl targets. * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. --- binutils/ChangeLog | 12 ++++++++++++ binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494a.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494b.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494c.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494d.d | 1 + 9 files changed, 20 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 8dd2d78..b618044 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,15 @@ +2018-08-10 H.J. Lu + + * testsuite/binutils-all/x86-64/pr23494a-x32.d: Skip nacl + targets. + * testsuite/binutils-all/x86-64/pr23494a.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494b.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494c.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise. + * testsuite/binutils-all/x86-64/pr23494d.d: Likewise. + 2018-08-08 H.J. Lu PR binutils/23494 diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d index 6171e3c..67e3aab 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d @@ -3,6 +3,7 @@ #as: --x32 #objcopy: -O elf64-x86-64 #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494a.d b/binutils/testsuite/binutils-all/x86-64/pr23494a.d index 5e8b0b6..06c1938 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494a.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494a.d @@ -3,6 +3,7 @@ #as: --64 -defsym __64_bit__=1 #objcopy: -O elf32-x86-64 #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d index e0b351b..f923e2f 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494b-x32.d @@ -3,3 +3,4 @@ #as: --x32 #objcopy: -O elf64-x86-64 -R .note.gnu.property #readelf: -n +#not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494b.d b/binutils/testsuite/binutils-all/x86-64/pr23494b.d index 69c5340..4916be0 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494b.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494b.d @@ -3,3 +3,4 @@ #as: --64 -defsym __64_bit__=1 #objcopy: -O elf32-x86-64 -R .note.gnu.property #readelf: -n +#not-target: x86_64-*-nacl* diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d index 3f213dc..c4a9414 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d @@ -3,6 +3,7 @@ #as: --x32 #objcopy: -O elf64-x86-64 #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494c.d b/binutils/testsuite/binutils-all/x86-64/pr23494c.d index 62500a8..545777a 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494c.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494c.d @@ -3,6 +3,7 @@ #as: --64 -defsym __64_bit__=1 #objcopy: -O elf32-x86-64 #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d b/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d index 106e6c0..264c9d9 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d @@ -3,6 +3,7 @@ #as: --x32 #objcopy: -O elf64-x86-64 --decompress-debug-sections #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description diff --git a/binutils/testsuite/binutils-all/x86-64/pr23494d.d b/binutils/testsuite/binutils-all/x86-64/pr23494d.d index bcbcbc5..3237eca 100644 --- a/binutils/testsuite/binutils-all/x86-64/pr23494d.d +++ b/binutils/testsuite/binutils-all/x86-64/pr23494d.d @@ -3,6 +3,7 @@ #as: --64 -defsym __64_bit__=1 #objcopy: -O elf32-x86-64 --decompress-debug-sections #readelf: -n +#not-target: x86_64-*-nacl* Displaying notes found in: .note.gnu.property Owner Data size Description -- 2.7.4