diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-1.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-11.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-2.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-23.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-3.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-8-31.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/powerpc.exp | 4 |
8 files changed, 40 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index db66430..ef2004b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d, + ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d, + ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New. + * ld-powerpc/powerpc.exp: Run new tests. + 2007-10-19 Nick Clifton <nickc@redhat.com> * ld-mn10300: New test directory. diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-1.s b/ld/testsuite/ld-powerpc/attr-gnu-8-1.s new file mode 100644 index 0000000..81c7b7f --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-1.s @@ -0,0 +1 @@ +.gnu_attribute 8,1 diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-11.d b/ld/testsuite/ld-powerpc/attr-gnu-8-11.d new file mode 100644 index 0000000..7e49d4a --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-11.d @@ -0,0 +1,10 @@ +#source: attr-gnu-8-1.s +#source: attr-gnu-8-1.s +#as: -a32 +#ld: -r -melf32ppc +#readelf: -A +#target: powerpc*-*-* + +Attribute Section: gnu +File Attributes + Tag_GNU_Power_ABI_Vector: Generic diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-2.s b/ld/testsuite/ld-powerpc/attr-gnu-8-2.s new file mode 100644 index 0000000..0f18f5f --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-2.s @@ -0,0 +1 @@ +.gnu_attribute 8,2 diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-23.d b/ld/testsuite/ld-powerpc/attr-gnu-8-23.d new file mode 100644 index 0000000..b22e4bd --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-23.d @@ -0,0 +1,6 @@ +#source: attr-gnu-8-2.s +#source: attr-gnu-8-3.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses vector ABI "SPE", .* uses "AltiVec" +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-3.s b/ld/testsuite/ld-powerpc/attr-gnu-8-3.s new file mode 100644 index 0000000..6a1cf4e --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-3.s @@ -0,0 +1 @@ +.gnu_attribute 8,3 diff --git a/ld/testsuite/ld-powerpc/attr-gnu-8-31.d b/ld/testsuite/ld-powerpc/attr-gnu-8-31.d new file mode 100644 index 0000000..53e8f99 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-8-31.d @@ -0,0 +1,10 @@ +#source: attr-gnu-8-3.s +#source: attr-gnu-8-1.s +#as: -a32 +#ld: -r -melf32ppc +#readelf: -A +#target: powerpc*-*-* + +Attribute Section: gnu +File Attributes + Tag_GNU_Power_ABI_Vector: SPE diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index d65aa1a..b1ad367 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -165,3 +165,7 @@ run_dump_test "attr-gnu-4-20" run_dump_test "attr-gnu-4-21" run_dump_test "attr-gnu-4-22" run_dump_test "attr-gnu-4-31" + +run_dump_test "attr-gnu-8-11" +run_dump_test "attr-gnu-8-23" +run_dump_test "attr-gnu-8-31" |