[ffcall] We need to specify .arch instead of .cpu for the movt instruction to be recognized by the assembler.

Jerry James jjames at fedoraproject.org
Fri Sep 6 20:13:07 UTC 2013


commit 34a84f179b8033b34b8b1a27ff48574a5527abeb
Author: Jerry James <loganjerry at gmail.com>
Date:   Fri Sep 6 14:12:12 2013 -0600

    We need to specify .arch instead of .cpu for the movt instruction to
    be recognized by the assembler.  This one is going to work for sure.

 ffcall-arm.patch |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/ffcall-arm.patch b/ffcall-arm.patch
index 5b5fb02..8e8509b 100644
--- a/ffcall-arm.patch
+++ b/ffcall-arm.patch
@@ -15,6 +15,14 @@
  }
 --- ./callback/trampoline_r/cache-armel.s.orig	2009-04-27 10:44:13.000000000 -0600
 +++ ./callback/trampoline_r/cache-armel.s	2013-09-06 13:00:00.000000000 -0600
+@@ -1,5 +1,5 @@
+-	.cpu arm10tdmi
+-	.fpu softvfp
++	.arch armv7-a
++	.fpu vfpv3-d16
+ 	.file	"cache-armel.c"
+ 	.text
+ 	.align	2
 @@ -9,10 +9,13 @@ __TR_clear_cache:
  	@ args = 0, pretend = 0, frame = 0
  	@ frame_needed = 0, uses_anonymous_args = 0
@@ -49,7 +57,14 @@
  }
 --- ./trampoline/cache-armel.s.orig	2009-04-27 10:44:14.000000000 -0600
 +++ ./trampoline/cache-armel.s	2013-09-06 13:00:00.000000000 -0600
-@@ -6,19 +6,16 @@
+@@ -1,24 +1,21 @@
+-	.cpu arm10tdmi
+-	.fpu softvfp
++	.arch armv7-a
++	.fpu vfpv3-d16
+ 	.file	"cache-armel.c"
+ 	.text
+ 	.align	2
  	.global	__TR_clear_cache
  	.type	__TR_clear_cache, %function
  __TR_clear_cache:


More information about the scm-commits mailing list