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-Tag: gdb-csl-arm-20051020-branchpoint~346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d21c87bbe47deb9f3e23a3fc7b6587a62e626a3;p=platform%2Fupstream%2Fbinutils.git * ld-cris: Skip tests unsuitable for testing target cris-axis-linux-gnu. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 84313d3..26bbe86 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 b66ee06..d692926 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 8bff7cb..c6db037 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 2df6fc6..24d0751 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 02ce118..3a8714b 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 e1dbe7d..a96120f 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 49126d5..526d3c3 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 ec09d6c..d6bda58 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 c94f9f9..b598ff5 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\]