diff options
author | andrew <andrew@FreeBSD.org> | 2013-03-16 02:48:49 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-03-16 02:48:49 +0000 |
commit | 112fb744f44f1dc3da68930c1fa793d7b9c2a963 (patch) | |
tree | 98fc4b9a1f0a8e1ef0db153b3b8bbebcbcd05c49 /sys/arm/arm/swtch.S | |
parent | 552a9fbc055835ad0b4dadbb343f5fa16f27cbdf (diff) | |
download | FreeBSD-src-112fb744f44f1dc3da68930c1fa793d7b9c2a963.zip FreeBSD-src-112fb744f44f1dc3da68930c1fa793d7b9c2a963.tar.gz |
Add an END macro to ARM. This is mostly used to tell gas where the bounds
of the functions are when creating the EABI unwind tables.
Diffstat (limited to 'sys/arm/arm/swtch.S')
-rw-r--r-- | sys/arm/arm/swtch.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm/arm/swtch.S b/sys/arm/arm/swtch.S index 4257557..f10b8f9 100644 --- a/sys/arm/arm/swtch.S +++ b/sys/arm/arm/swtch.S @@ -213,6 +213,7 @@ ENTRY(cpu_throw) add sp, sp, #4; ldmfd sp!, {r4-r7, pc} +END(cpu_throw) ENTRY(cpu_switch) stmfd sp!, {r4-r7, lr} @@ -502,6 +503,8 @@ ENTRY(cpu_switch) .Lswitch_panic_str: .asciz "cpu_switch: sched_qs empty with non-zero sched_whichqs!\n" #endif +END(cpu_switch) + ENTRY(savectx) stmfd sp!, {r4-r7, lr} sub sp, sp, #4 @@ -534,6 +537,7 @@ ENTRY(savectx) #endif /* ARM_VFP_SUPPORT */ add sp, sp, #4; ldmfd sp!, {r4-r7, pc} +END(savectx) ENTRY(fork_trampoline) mov r1, r5 @@ -551,3 +555,5 @@ ENTRY(fork_trampoline) movs pc, lr /* Exit */ AST_LOCALS +END(fork_trampoline) + |