summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/eabi-soft-float-ABI4.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arm/eabi-soft-float-ABI4.d')
-rw-r--r--ld/testsuite/ld-arm/eabi-soft-float-ABI4.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/eabi-soft-float-ABI4.d b/ld/testsuite/ld-arm/eabi-soft-float-ABI4.d
new file mode 100644
index 0000000..1804826
--- /dev/null
+++ b/ld/testsuite/ld-arm/eabi-soft-float-ABI4.d
@@ -0,0 +1,12 @@
+#source: eabi-soft-float.s
+#as:
+#ld: -r
+#readelf: -h
+# This test is only valid on ELF based ports.
+# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+# if we compile for EABI ver4, ld should *not* set either of the float ABI flags
+
+ELF Header:
+#...
+ Flags: 0x4000000, Version4 EABI
+#...