diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-21 20:43:55 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-28 17:59:57 +0100 |
commit | 583e7f5d36547f0d84caf71d43b71f0530a47766 (patch) | |
tree | 906e7185aae5d01f0f622df8ad64c002a8e45400 /arch/arm/lib | |
parent | d090dddaba7c8da6401bb259340dce05ca32f564 (diff) | |
download | blackbird-op-linux-583e7f5d36547f0d84caf71d43b71f0530a47766.tar.gz blackbird-op-linux-583e7f5d36547f0d84caf71d43b71f0530a47766.zip |
[ARM] nommu: backtrace code must not reference a discarded section
The code in "1007:" is in the .fixup section, which in the mmuless
case is discarded. Since this code is referenced from the .text
section, it causes an link error. Move this code into the .text
section instead.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r-- | arch/arm/lib/backtrace.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/lib/backtrace.S b/arch/arm/lib/backtrace.S index 058b80d72aa1..91f993f2e9db 100644 --- a/arch/arm/lib/backtrace.S +++ b/arch/arm/lib/backtrace.S @@ -97,16 +97,13 @@ ENTRY(c_backtrace) b 1007f /* - * Fixup for LDMDB + * Fixup for LDMDB. Note that this must not be in the fixup section. */ - .section .fixup,"ax" - .align 0 1007: ldr r0, =.Lbad mov r1, frame bl printk ldmfd sp!, {r4 - r8, pc} .ltorg - .previous .section __ex_table,"a" .align 3 |