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

@@ -13,9 +13,9 @@ LKMC_PROLOGUE
*/
mov $0, %rax
mov $3, %rcx
loop_label:
.Lloop_label:
inc %rax
loop loop_label
loop .Lloop_label
LKMC_ASSERT_EQ(%rax, $3)
/* LOOPE
@@ -37,10 +37,10 @@ loop_label:
/* Array length. */
mov $4, %rcx
mov $-1, %rax
loope_label:
.Lloope_label:
inc %rax
cmpb $0, loope_array(%rax)
loope loope_label
loope .Lloope_label
/* The first non-zero item (1) was at index 2. */
LKMC_ASSERT_EQ(%rax, $2)