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 8dd2d78d530..b618044094a 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 6171e3c80c0..67e3aab89e2 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 5e8b0b61c75..06c193867e3 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 e0b351b51d7..f923e2fad68 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 69c53407101..4916be08ad0 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 3f213dcd913..c4a9414b411 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 62500a8382a..545777a2aaf 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 106e6c05cbd..264c9d93cd0 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 bcbcbc5c1fd..3237eca54e5 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.30.2