ARM: replace BSYM() with badr assembly macro
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Apr 2015 13:17:25 +0000 (14:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 May 2015 16:33:50 +0000 (17:33 +0100)
commit14327c662822e5e874cb971a7162067519300ca8
tree3d3424072fa6ef753c8ffaa2eb79005574149a3e
parent5890298a834c04aaa9b5fb576e5f2b77e79ab38d
ARM: replace BSYM() with badr assembly macro

BSYM() was invented to allow us to work around a problem with the
assembler, where local symbols resolved by the assembler for the 'adr'
instruction did not take account of their ISA.

Since we don't want BSYM() used elsewhere, replace BSYM() with a new
macro 'badr', which is like the 'adr' pseudo-op, but with the BSYM()
mechanics integrated into it.  This ensures that the BSYM()-ification
is only used in conjunction with 'adr'.

Acked-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
13 files changed:
arch/arm/boot/compressed/head.S
arch/arm/common/mcpm_head.S
arch/arm/include/asm/assembler.h
arch/arm/include/asm/entry-macro-multi.S
arch/arm/include/asm/unified.h
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-common.S
arch/arm/kernel/entry-ftrace.S
arch/arm/kernel/head-nommu.S
arch/arm/kernel/head.S
arch/arm/kernel/sleep.S
arch/arm/lib/call_with_stack.S
arch/arm/mm/proc-v7m.S
This page took 0.032321 seconds and 5 git commands to generate.