x86_64 k1om tests

Message ID 20200629010157.GB30281@bubble.grove.modra.org
State New
Headers show
Series
  • x86_64 k1om tests
Related show

Commit Message

Alan Modra via Binutils June 29, 2020, 1:01 a.m.
On x86_64-nacl we currently see
FAIL: Absolute non-overflowing relocs
FAIL: ld-x86-64/protected2-k1om
FAIL: ld-x86-64/protected3-k1om

This limits the tests as per the l1om variants, resulting in a clean
testsuite result for x86_64-nacl.

	* testsuite/ld-x86-64/abs-k1om.d: Run only on x86_64-*-linux*.
	* testsuite/ld-x86-64/protected2-k1om.d: Likewise.
	* testsuite/ld-x86-64/protected3-k1om.d: Likewise.


-- 
Alan Modra
Australia Development Lab, IBM

Comments

Jan Beulich June 29, 2020, 7:08 a.m. | #1
On 29.06.2020 03:01, Alan Modra wrote:
> On x86_64-nacl we currently see

> FAIL: Absolute non-overflowing relocs

> FAIL: ld-x86-64/protected2-k1om

> FAIL: ld-x86-64/protected3-k1om

> 

> This limits the tests as per the l1om variants, resulting in a clean

> testsuite result for x86_64-nacl.


I'm sorry for the breakage - I should have checked with the l1om tests
to see whether adjustments had been made there while the k1om ones
were orphaned. Thanks for addressing.

Jan

Patch

diff --git a/ld/testsuite/ld-x86-64/abs-k1om.d b/ld/testsuite/ld-x86-64/abs-k1om.d
index 6b0fde0eed..ec7664c49f 100644
--- a/ld/testsuite/ld-x86-64/abs-k1om.d
+++ b/ld/testsuite/ld-x86-64/abs-k1om.d
@@ -4,6 +4,7 @@ 
 #as: --64 -march=k1om
 #ld: -m elf_k1om -z noseparate-code
 #objdump: -rs -j .text
+#target: x86_64-*-linux*
 
 .*:     file format .*
 
diff --git a/ld/testsuite/ld-x86-64/protected2-k1om.d b/ld/testsuite/ld-x86-64/protected2-k1om.d
index 4e035991a2..560f00e81d 100644
--- a/ld/testsuite/ld-x86-64/protected2-k1om.d
+++ b/ld/testsuite/ld-x86-64/protected2-k1om.d
@@ -2,6 +2,7 @@ 
 #as: --64 -march=k1om
 #ld: -shared -melf_k1om
 #objdump: -drw
+#target: x86_64-*-linux*
 
 .*: +file format .*
 
diff --git a/ld/testsuite/ld-x86-64/protected3-k1om.d b/ld/testsuite/ld-x86-64/protected3-k1om.d
index 36d6656c7f..68db8c5718 100644
--- a/ld/testsuite/ld-x86-64/protected3-k1om.d
+++ b/ld/testsuite/ld-x86-64/protected3-k1om.d
@@ -2,6 +2,7 @@ 
 #as: --64 -march=k1om
 #ld: -shared -melf_k1om
 #readelf: -h
+#target: x86_64-*-linux*
 
 ELF Header:
   Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00