From: Hans-Peter Nilsson Date: Thu, 1 Sep 2005 01:47:25 +0000 (+0000) Subject: * ld-cris: Skip tests unsuitable for testing target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d21c87bbe47deb9f3e23a3fc7b6587a62e626a3;p=binutils-gdb.git * ld-cris: Skip tests unsuitable for testing target cris-axis-linux-gnu. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 84313d3b52c..26bbe867c46 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 b66ee06f453..d6929263523 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 8bff7cb5f51..c6db037b9e6 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 2df6fc6b1b5..24d07512f7f 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 02ce118460d..3a8714bf781 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 e1dbe7d2233..a96120faf0e 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 49126d5ac6c..526d3c381bb 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 ec09d6cc9f9..d6bda585e35 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 c94f9f9c4a2..b598ff5e553 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\]