mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 13:04: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,13 @@ LKMC_PROLOGUE
|
||||
|
||||
/* Branch. */
|
||||
mov x0, 0x0
|
||||
cbz x0, ok
|
||||
cbz x0, .Lok
|
||||
LKMC_ASSERT_FAIL
|
||||
ok:
|
||||
.Lok:
|
||||
|
||||
/* Don't branch. */
|
||||
mov x0, 0x1
|
||||
cbz x0, ko
|
||||
|
||||
cbz x0, .Lko
|
||||
LKMC_EPILOGUE
|
||||
ko:
|
||||
.Lko:
|
||||
LKMC_ASSERT_FAIL
|
||||
|
||||
Reference in New Issue
Block a user