oops accidentally omitted from previous delta

This commit is contained in:
Nick Clifton 2012-10-31 08:42:11 +00:00
parent c70c126a54
commit 65f4dd4721
6 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,12 @@
#source: eabi-hard-float.s
#as:
#ld: -r
#readelf: -h
# This test is only valid on ELF based ports.
# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
# Check that we set the hard-float ABI flag directly
ELF Header:
#...
Flags: 0x5000400, Version5 EABI, hard-float ABI
#...

View File

@ -0,0 +1,9 @@
.cpu cortex-a9
.fpu vfpv3
.eabi_attribute Tag_ABI_VFP_args, 1
.file "eabi-hard-float.s"
.globl _start
.type _start,%function
_start:
.size _start,.-_start

View File

@ -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
#...

View File

@ -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 call "ld -r", it should *not* set either of the float ABI flags
ELF Header:
#...
Flags: 0x5000000, Version5 EABI
#...

View File

@ -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*
# Check that we set the soft-float ABI flag directly
ELF Header:
#...
Flags: 0x5000200, Version5 EABI, soft-float ABI
#...

View File

@ -0,0 +1,8 @@
.cpu cortex-a9
.fpu vfpv3
.eabi_attribute Tag_ABI_VFP_args, 0
.file "eabi-soft-float.s"
.globl _start
.type _start,%function
_start:
.size _start,.-_start