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:
Ciro Santilli 六四事件 法轮功
2019-06-16 00:00:01 +00:00
parent 4d4b82f248
commit b3874cc72b
14 changed files with 43 additions and 46 deletions

View File

@@ -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)