From 45d069a51f4da7e000f3b5a0ec210d1bd968e350 Mon Sep 17 00:00:00 2001 From: hp Date: Thu, 1 Sep 2005 01:47:23 +0000 Subject: [PATCH] * ld-cris: Skip tests unsuitable for testing target cris-axis-linux-gnu. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-cris/v10-v32.d | 3 ++- ld/testsuite/ld-cris/v10-va.d | 2 ++ ld/testsuite/ld-cris/v32-ba-1.d | 2 ++ ld/testsuite/ld-cris/v32-bin-1.d | 2 ++ ld/testsuite/ld-cris/v32-v10.d | 2 ++ ld/testsuite/ld-cris/v32-va.d | 2 ++ ld/testsuite/ld-cris/va-v10.d | 2 ++ ld/testsuite/ld-cris/va-v32.d | 2 ++ 9 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 84313d3b52..26bbe867c4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-09-01 Hans-Peter Nilsson + + * ld-cris: Skip tests unsuitable for testing target + cris-axis-linux-gnu. + 2005-08-18 David Daney * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior. diff --git a/ld/testsuite/ld-cris/v10-v32.d b/ld/testsuite/ld-cris/v10-v32.d index b66ee06f45..d692926352 100644 --- a/ld/testsuite/ld-cris/v10-v32.d +++ b/ld/testsuite/ld-cris/v10-v32.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=v32 # source: move-1.s --march=v0_v10 # as: --em=criself @@ -5,5 +6,5 @@ # error: contains non-CRIS-v32 code # Test that linking a (classic) v10 object to a v32 object does -# not work. +# not work. Source code and "-m criself" doesn't work with *-linux-gnu. diff --git a/ld/testsuite/ld-cris/v10-va.d b/ld/testsuite/ld-cris/v10-va.d index 8bff7cb5f5..c6db037b9e 100644 --- a/ld/testsuite/ld-cris/v10-va.d +++ b/ld/testsuite/ld-cris/v10-va.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=common_v10_v32 # source: move-1.s --march=v0_v10 # as: --em=criself @@ -6,6 +7,7 @@ # Test that linking a v10 compatible object to a v10+v32 object # does work and results in the output marked as a v10 object. +# Source code and "-m criself" doesn't work with *-linux-gnu. #... private flags = 1: \[symbols have a _ prefix\] diff --git a/ld/testsuite/ld-cris/v32-ba-1.d b/ld/testsuite/ld-cris/v32-ba-1.d index 2df6fc6b1b..24d07512f7 100644 --- a/ld/testsuite/ld-cris/v32-ba-1.d +++ b/ld/testsuite/ld-cris/v32-ba-1.d @@ -1,8 +1,10 @@ +# notarget: cris*-*-linux-gnu # as: --march=v32 --em=criself # ld: -m criself # objdump: -d # Check that 32-bit branches (PCREL:s) are relocated right. +# Source code and "-m criself" doesn't work with *-linux-gnu. .*: file format elf32-us-cris diff --git a/ld/testsuite/ld-cris/v32-bin-1.d b/ld/testsuite/ld-cris/v32-bin-1.d index 02ce118460..3a8714bf78 100644 --- a/ld/testsuite/ld-cris/v32-bin-1.d +++ b/ld/testsuite/ld-cris/v32-bin-1.d @@ -1,8 +1,10 @@ +#notarget: cris*-*-linux-gnu #as: --em=criself --march=v32 #ld: -m criself --oformat binary --defsym ext1=0x4000 --defsym ext2=0x6000 #objdump: -s -b binary # Test that pcrel relocs work with --oformat binary. +# Source code and "-m criself" doesn't work with *-linux-gnu. .*: file format binary diff --git a/ld/testsuite/ld-cris/v32-v10.d b/ld/testsuite/ld-cris/v32-v10.d index e1dbe7d223..a96120faf0 100644 --- a/ld/testsuite/ld-cris/v32-v10.d +++ b/ld/testsuite/ld-cris/v32-v10.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=v0_v10 # source: move-1.s --march=v32 # as: --em=criself @@ -6,3 +7,4 @@ # Test that linking a v32 object to a (classic) v10 object does # not work. +# Source code and "-m criself" doesn't work with *-linux-gnu. diff --git a/ld/testsuite/ld-cris/v32-va.d b/ld/testsuite/ld-cris/v32-va.d index 49126d5ac6..526d3c381b 100644 --- a/ld/testsuite/ld-cris/v32-va.d +++ b/ld/testsuite/ld-cris/v32-va.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=common_v10_v32 # source: move-1.s --march=v32 # as: --em=criself @@ -6,6 +7,7 @@ # Test that linking a v32 object to a v10+v32 object # does work and results in the output marked as a v32 object. +# Source code and "-m criself" doesn't work with *-linux-gnu. #... private flags = 3: \[symbols have a _ prefix\] \[v32\] diff --git a/ld/testsuite/ld-cris/va-v10.d b/ld/testsuite/ld-cris/va-v10.d index ec09d6cc9f..d6bda585e3 100644 --- a/ld/testsuite/ld-cris/va-v10.d +++ b/ld/testsuite/ld-cris/va-v10.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=v0_v10 # source: move-1.s --march=common_v10_v32 # as: --em=criself @@ -6,6 +7,7 @@ # Test that linking a v10+v32 compatible object to a v10 object # does work and results in the output marked as a v10 object. +# Source code and "-m criself" doesn't work with *-linux-gnu. #... private flags = 1: \[symbols have a _ prefix\] diff --git a/ld/testsuite/ld-cris/va-v32.d b/ld/testsuite/ld-cris/va-v32.d index c94f9f9c4a..b598ff5e55 100644 --- a/ld/testsuite/ld-cris/va-v32.d +++ b/ld/testsuite/ld-cris/va-v32.d @@ -1,3 +1,4 @@ +# notarget: cris*-*-linux-gnu # source: start1.s --march=v32 # source: move-1.s --march=common_v10_v32 # as: --em=criself @@ -6,6 +7,7 @@ # Test that linking a v10+v32 compatible object to a v32 object # does work and results in the output marked as a v32 object. +# Source code and "-m criself" doesn't work with *-linux-gnu. #... private flags = 3: \[symbols have a _ prefix\] \[v32\] -- 2.11.0