diff options
author | Anthony Green <green@moxielogic.com> | 2014-02-28 00:20:17 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2014-02-28 00:20:17 -0500 |
commit | 001aaf4b1b56349596bb6f6b5c1613dcbbd84ea8 (patch) | |
tree | 50abdb76a5592353534e541eb58861532824cb85 /src | |
parent | 49f7729c3ce697c12408c42ccb29cdf4eb66bb85 (diff) | |
download | libffi-001aaf4b1b56349596bb6f6b5c1613dcbbd84ea8.tar.gz |
When no VFP arguments are present the IP register is used
uninitialized. Initialize it to the value of FP.
This fixes a number of testsuite failures when configured for
armv7l-unknown-linux-gnueabihf
Diffstat (limited to 'src')
-rw-r--r-- | src/arm/sysv.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arm/sysv.S b/src/arm/sysv.S index 595ea33..541bbe9 100644 --- a/src/arm/sysv.S +++ b/src/arm/sysv.S @@ -353,6 +353,7 @@ ARM_FUNC_START(ffi_call_VFP) @ Load VFP register args if needed cmp r0, #0 + mov ip, fp beq LSYM(Lbase_args) @ Load only d0 if possible |