mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-25 02:48:01 +00:00
oops accidentally omitted from previous delta
This commit is contained in:
parent
c70c126a54
commit
65f4dd4721
12
ld/testsuite/ld-arm/eabi-hard-float.d
Normal file
12
ld/testsuite/ld-arm/eabi-hard-float.d
Normal 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
|
||||
#...
|
9
ld/testsuite/ld-arm/eabi-hard-float.s
Normal file
9
ld/testsuite/ld-arm/eabi-hard-float.s
Normal 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
|
||||
|
12
ld/testsuite/ld-arm/eabi-soft-float-ABI4.d
Normal file
12
ld/testsuite/ld-arm/eabi-soft-float-ABI4.d
Normal 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
|
||||
#...
|
12
ld/testsuite/ld-arm/eabi-soft-float-r.d
Normal file
12
ld/testsuite/ld-arm/eabi-soft-float-r.d
Normal 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
|
||||
#...
|
12
ld/testsuite/ld-arm/eabi-soft-float.d
Normal file
12
ld/testsuite/ld-arm/eabi-soft-float.d
Normal 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
|
||||
#...
|
8
ld/testsuite/ld-arm/eabi-soft-float.s
Normal file
8
ld/testsuite/ld-arm/eabi-soft-float.s
Normal 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
|
Loading…
x
Reference in New Issue
Block a user