diff options
author | Alan Modra <amodra@gmail.com> | 2008-07-26 13:10:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-07-26 13:10:48 +0000 |
commit | 3c7b98977c0b44c19630cb2d6b699e90ba294e52 (patch) | |
tree | 9e45df98d39889a8008eea788918356e4889c7c7 /ld | |
parent | d72314c67b7cc65ae935ad3dd80a6b1840b57d1a (diff) | |
download | gdb-3c7b98977c0b44c19630cb2d6b699e90ba294e52.zip gdb-3c7b98977c0b44c19630cb2d6b699e90ba294e52.tar.gz gdb-3c7b98977c0b44c19630cb2d6b699e90ba294e52.tar.bz2 |
Support PowerPC single-precision float.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 15 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-03.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-13.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-14.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-23.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-24.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-31.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-32.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-33.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-34.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-4.s | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/attr-gnu-4-41.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/powerpc.exp | 10 |
13 files changed, 83 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 593c909..c9b18bc 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2008-07-26 Michael Eager <eager@eagercon.com> + + * ld-powerpc/powerpc.exp: Run new tests. + * ld-powerpc/attr-gnu-4-03.d: New file. + * ld-powerpc/attr-gnu-4-14.d: New file. + * ld-powerpc/attr-gnu-4-23.d: New file. + * ld-powerpc/attr-gnu-4-24.d: New file. + * ld-powerpc/attr-gnu-4-32.d: New file. + * ld-powerpc/attr-gnu-4-33.d: New file. + * ld-powerpc/attr-gnu-4-34.d: New file. + * ld-powerpc/attr-gnu-4-41.d: New file. + * ld-powerpc/attr-gnu-4-4.s: New file. + * ld-powerpc/attr-gnu-4-13.d: Adjust. + * ld-powerpc/attr-gnu-4-31.d: Adjust. + 2008-07-26 Alan Modra <amodra@bigpond.net.au> * ld-scripts/include.exp: Don't run test for aout. diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-03.d b/ld/testsuite/ld-powerpc/attr-gnu-4-03.d new file mode 100644 index 0000000..03b0c3c --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-03.d @@ -0,0 +1,10 @@ +#source: attr-gnu-4-0.s +#source: attr-gnu-4-3.s +#as: -a32 +#ld: -r -melf32ppc +#readelf: -A +#target: powerpc*-*-* + +Attribute Section: gnu +File Attributes + Tag_GNU_Power_ABI_FP: Single-precision hard float diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-13.d b/ld/testsuite/ld-powerpc/attr-gnu-4-13.d index be1290e..6bc3de4 100644 --- a/ld/testsuite/ld-powerpc/attr-gnu-4-13.d +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-13.d @@ -2,5 +2,5 @@ #source: attr-gnu-4-3.s #as: -a32 #ld: -r -melf32ppc -#warning: Warning: .* uses unknown floating point ABI 3 +#warning: Warning: .* uses double-precision hard float, .* uses single-precision hard float #target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-14.d b/ld/testsuite/ld-powerpc/attr-gnu-4-14.d new file mode 100644 index 0000000..3bb6661 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-14.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-1.s +#source: attr-gnu-4-4.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses unknown floating point ABI 4 +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-23.d b/ld/testsuite/ld-powerpc/attr-gnu-4-23.d new file mode 100644 index 0000000..f72c258 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-23.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-2.s +#source: attr-gnu-4-3.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses hard float, .* uses soft float +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-24.d b/ld/testsuite/ld-powerpc/attr-gnu-4-24.d new file mode 100644 index 0000000..fc17f91 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-24.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-2.s +#source: attr-gnu-4-4.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses unknown floating point ABI 4 +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-31.d b/ld/testsuite/ld-powerpc/attr-gnu-4-31.d index 9cf8f4f..8ee1874 100644 --- a/ld/testsuite/ld-powerpc/attr-gnu-4-31.d +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-31.d @@ -2,5 +2,5 @@ #source: attr-gnu-4-1.s #as: -a32 #ld: -r -melf32ppc -#warning: Warning: .* uses unknown floating point ABI 3 +#warning: Warning: .* uses double-precision hard float, .* uses single-precision hard float #target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-32.d b/ld/testsuite/ld-powerpc/attr-gnu-4-32.d new file mode 100644 index 0000000..3b7cb29 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-32.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-3.s +#source: attr-gnu-4-2.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses soft float, .* uses single-precision hard float +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-33.d b/ld/testsuite/ld-powerpc/attr-gnu-4-33.d new file mode 100644 index 0000000..88367ae --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-33.d @@ -0,0 +1,10 @@ +#source: attr-gnu-4-3.s +#source: attr-gnu-4-3.s +#as: -a32 +#ld: -r -melf32ppc +#readelf: -A +#target: powerpc*-*-* + +Attribute Section: gnu +File Attributes + Tag_GNU_Power_ABI_FP: Single-precision hard float diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-34.d b/ld/testsuite/ld-powerpc/attr-gnu-4-34.d new file mode 100644 index 0000000..6f6e1fe --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-34.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-3.s +#source: attr-gnu-4-4.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses unknown floating point ABI 4 +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-4.s b/ld/testsuite/ld-powerpc/attr-gnu-4-4.s new file mode 100644 index 0000000..3ff129a --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-4.s @@ -0,0 +1 @@ +.gnu_attribute 4,4 diff --git a/ld/testsuite/ld-powerpc/attr-gnu-4-41.d b/ld/testsuite/ld-powerpc/attr-gnu-4-41.d new file mode 100644 index 0000000..b909476 --- /dev/null +++ b/ld/testsuite/ld-powerpc/attr-gnu-4-41.d @@ -0,0 +1,6 @@ +#source: attr-gnu-4-4.s +#source: attr-gnu-4-1.s +#as: -a32 +#ld: -r -melf32ppc +#warning: Warning: .* uses unknown floating point ABI 4 +#target: powerpc*-*-* diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index b1ad367..4e03cf6 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -1,5 +1,5 @@ # Expect script for ld-powerpc tests -# Copyright 2002, 2003, 2005, 2006, 2007 Free Software Foundation +# Copyright 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation # # This file is part of the GNU Binutils. # @@ -157,14 +157,22 @@ run_dump_test "plt1" run_dump_test "attr-gnu-4-00" run_dump_test "attr-gnu-4-01" run_dump_test "attr-gnu-4-02" +run_dump_test "attr-gnu-4-03" run_dump_test "attr-gnu-4-10" run_dump_test "attr-gnu-4-11" run_dump_test "attr-gnu-4-12" run_dump_test "attr-gnu-4-13" +run_dump_test "attr-gnu-4-14" 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-23" +run_dump_test "attr-gnu-4-24" run_dump_test "attr-gnu-4-31" +run_dump_test "attr-gnu-4-32" +run_dump_test "attr-gnu-4-33" +run_dump_test "attr-gnu-4-34" +run_dump_test "attr-gnu-4-41" run_dump_test "attr-gnu-8-11" run_dump_test "attr-gnu-8-23" |