aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-10-06 19:08:47 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-10-06 19:08:47 +0000
commita8d97d957e7cef02159f55f0ed128e795b77ad71 (patch)
tree530a1f71c4be05aca6297786bbac21674caef85c /gas
parentabf6a9dc4ebf206e0e9d619a1e2a700a60d068ff (diff)
downloadgdb-a8d97d957e7cef02159f55f0ed128e795b77ad71.zip
gdb-a8d97d957e7cef02159f55f0ed128e795b77ad71.tar.gz
gdb-a8d97d957e7cef02159f55f0ed128e795b77ad71.tar.bz2
(le-fpconst): New testcase.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/arm/.Sanitize2
-rw-r--r--gas/testsuite/gas/arm/le-fpconst.d8
-rw-r--r--gas/testsuite/gas/arm/le-fpconst.s8
3 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/.Sanitize b/gas/testsuite/gas/arm/.Sanitize
index cfca9d0..1f6d21d 100644
--- a/gas/testsuite/gas/arm/.Sanitize
+++ b/gas/testsuite/gas/arm/.Sanitize
@@ -32,6 +32,8 @@ arm7dm.s
copro.s
float.s
inst.s
+le-fpconst.s
+le-fpconst.d
Things-to-lose:
diff --git a/gas/testsuite/gas/arm/le-fpconst.d b/gas/testsuite/gas/arm/le-fpconst.d
new file mode 100644
index 0000000..354e0e0
--- /dev/null
+++ b/gas/testsuite/gas/arm/le-fpconst.d
@@ -0,0 +1,8 @@
+#objdump: -s
+#as: -EL
+#name: arm little-endian fpconst
+
+.*: +file format .*arm.*
+
+Contents of section .text:
+ 0000 cdcc8c3f 00000000 9999f13f 9a999999 .*
diff --git a/gas/testsuite/gas/arm/le-fpconst.s b/gas/testsuite/gas/arm/le-fpconst.s
new file mode 100644
index 0000000..8a3c3d7
--- /dev/null
+++ b/gas/testsuite/gas/arm/le-fpconst.s
@@ -0,0 +1,8 @@
+# Test fp constants.
+# These need ARM specific support because 8 byte fp constants in little
+# endian mode are represented abnormally.
+
+ .text
+ .float 1.1
+ .float 0
+ .double 1.1