Lines 1-73
Link Here
|
1 |
--- src/arm/sysv.S.orig 2008-02-15 02:15:41.000000000 +0100 |
|
|
2 |
+++ src/arm/sysv.S 2008-04-01 13:25:02.000000000 +0200 |
3 |
@@ -83,14 +83,6 @@ |
4 |
# define call_reg(x) mov lr, pc ; mov pc, x |
5 |
#endif |
6 |
|
7 |
-/* Conditionally compile unwinder directives. */ |
8 |
-#ifdef __ARM_EABI__ |
9 |
-#define UNWIND |
10 |
-#else |
11 |
-#define UNWIND @ |
12 |
-#endif |
13 |
- |
14 |
- |
15 |
#if defined(__thumb__) && !defined(__THUMB_INTERWORK__) |
16 |
.macro ARM_FUNC_START name |
17 |
.text |
18 |
@@ -101,7 +93,6 @@ |
19 |
bx pc |
20 |
nop |
21 |
.arm |
22 |
- UNWIND .fnstart |
23 |
/* A hook to tell gdb that we've switched to ARM mode. Also used to call |
24 |
directly from other local arm routines. */ |
25 |
_L__\name: |
26 |
@@ -112,7 +103,6 @@ |
27 |
.align 0 |
28 |
.arm |
29 |
ENTRY(\name) |
30 |
- UNWIND .fnstart |
31 |
.endm |
32 |
#endif |
33 |
|
34 |
@@ -145,11 +135,8 @@ |
35 |
ARM_FUNC_START ffi_call_SYSV |
36 |
@ Save registers |
37 |
stmfd sp!, {r0-r3, fp, lr} |
38 |
- UNWIND .save {r0-r3, fp, lr} |
39 |
mov fp, sp |
40 |
|
41 |
- UNWIND .setfp fp, sp |
42 |
- |
43 |
@ Make room for all of the new args. |
44 |
sub sp, fp, r2 |
45 |
|
46 |
@@ -219,7 +206,6 @@ |
47 |
RETLDM "r0-r3,fp" |
48 |
|
49 |
.ffi_call_SYSV_end: |
50 |
- UNWIND .fnend |
51 |
.size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) |
52 |
|
53 |
/* |
54 |
@@ -231,12 +217,9 @@ |
55 |
*/ |
56 |
|
57 |
ARM_FUNC_START ffi_closure_SYSV |
58 |
- UNWIND .pad #16 |
59 |
add ip, sp, #16 |
60 |
stmfd sp!, {ip, lr} |
61 |
- UNWIND .save {r0, lr} |
62 |
add r2, sp, #8 |
63 |
- .pad #16 |
64 |
sub sp, sp, #16 |
65 |
str sp, [sp, #8] |
66 |
add r1, sp, #8 |
67 |
@@ -291,6 +274,5 @@ |
68 |
#endif |
69 |
|
70 |
.ffi_closure_SYSV_end: |
71 |
- UNWIND .fnend |
72 |
.size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV) |
73 |
|