~ubuntu-branches/ubuntu/vivid/gccgo-5/vivid-updates

« back to all changes in this revision

Viewing changes to debian/patches/fix-ffi_call_VFP-with-no-VFP-argument.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-02-26 08:23:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150226082314-ajakcli5v70mb3r7
Tags: 5-20150226-1ubuntu1
Update to SVN 20150226.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# DP: armhf: Fix ffi_call_VFP with no VFP arguments.
2
 
 
3
 
--- a/src/libffi/src/arm/sysv.S
4
 
+++ b/src/libffi/src/arm/sysv.S
5
 
@@ -368,6 +368,7 @@ ARM_FUNC_START ffi_call_VFP
6
 
 
7
 
        @ Load VFP register args if needed
8
 
        cmp     r0, #0
9
 
+       mov     ip, fp
10
 
        beq     LSYM(Lbase_args)
11
 
 
12
 
        @ Load only d0 if possible