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 ++++++++++++ .../testsuite/binutils-all/x86-64/pr23494a-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494a.d | 1 + .../testsuite/binutils-all/x86-64/pr23494b-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494b.d | 1 + .../testsuite/binutils-all/x86-64/pr23494c-x32.d | 1 + binutils/testsuite/binutils-all/x86-64/pr23494c.d | 1 + .../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 8dd2d78d53..b618044094 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 6171e3c80c..67e3aab89e 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 5e8b0b61c7..06c193867e 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 e0b351b51d..f923e2fad6 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 69c5340710..4916be08ad 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 3f213dcd91..c4a9414b41 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 62500a8382..545777a2aa 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 106e6c05cb..264c9d93cd 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 bcbcbc5c1f..3237eca54e 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