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

@@ -17,10 +17,10 @@ LKMC_PROLOGUE
* This could be used if the label is too far away for
* adr relative addressing.
*/
movz x0, :abs_g2:label /* bits 32-47, overflow check */
movk x0, :abs_g1_nc:label /* bits 16-31, no overflow check */
movk x0, :abs_g0_nc:label /* bits 0-15, no overflow check */
adr x1, label
label:
movz x0, :abs_g2:.Llabel /* bits 32-47, overflow check */
movk x0, :abs_g1_nc:.Llabel /* bits 16-31, no overflow check */
movk x0, :abs_g0_nc:.Llabel /* bits 0-15, no overflow check */
adr x1, .Llabel
.Llabel:
LKMC_ASSERT_EQ_REG(x0, x1)
LKMC_EPILOGUE