mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
asm: make all text section labels .L local
To help with backtraces if we ever fix them due to the lkmc_asm_main_after_prologue debacle.
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
data_label:
|
||||
.word 0x1234678
|
||||
LKMC_PROLOGUE
|
||||
adr r4, label
|
||||
adr r4, .Llabel
|
||||
/* objdump tells us that this uses the literal pool,
|
||||
* it does not get converted to adr, which is the better
|
||||
* alternative here.
|
||||
*/
|
||||
ldr r5, =label
|
||||
adrl r6, label
|
||||
label:
|
||||
ldr r5, =.Llabel
|
||||
adrl r6, .Llabel
|
||||
.Llabel:
|
||||
LKMC_ASSERT_EQ_REG(r4, r5)
|
||||
LKMC_ASSERT_EQ_REG(r4, r6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user