patch-2.3.23 linux/arch/arm/lib/backtrace.S
Next file: linux/arch/arm/lib/checksum.S
Previous file: linux/arch/arm/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Oct 20 16:29:08 1999
- Orig file:
v2.3.22/linux/arch/arm/lib/backtrace.S
- Orig date:
Fri May 8 00:42:38 1998
diff -u --recursive --new-file v2.3.22/linux/arch/arm/lib/backtrace.S linux/arch/arm/lib/backtrace.S
@@ -21,6 +21,11 @@
mov r0, fp
ENTRY(c_backtrace)
+
+#ifndef CONFIG_FRAME_POINTER
+ mov pc, lr
+#else
+
stmfd sp!, {r4 - r8, lr} @ Save an extra register so we have a location...
#ifdef CONFIG_CPU_32
tst r1, #0x10 @ 26 or 32-bit?
@@ -103,3 +108,5 @@
.align
.Ldsi: .word 0x00e92dd8 >> 2
.word 0x00e92d00 >> 2
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)