[PATCH] riscv: use local label names instead of global ones in assembly

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Thu Jan 9 08:16:49 PST 2025


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer at rivosinc.com>:

On Fri,  3 Jan 2025 15:17:58 +0100 you wrote:
> Local labels should be prefix by '.L' or they'll be exported in the
> symbol table. Additionally, this messes up the backtrace by displaying
> an incorrect symbol:
> 
>   ...
>   [   12.751810] [<ffffffff80441628>] _copy_from_user+0x28/0xc2
>   [   12.752035] [<ffffffff800152ca>] handle_misaligned_load+0x1ca/0x2fc
>   [   12.752310] [<ffffffff80a033e8>] do_trap_load_misaligned+0x24/0xee
>   [   12.752596] [<ffffffff80a0dcae>] _new_vmalloc_restore_context_a0+0xc2/0xce
> 
> [...]

Here is the summary with links:
  - riscv: use local label names instead of global ones in assembly
    https://git.kernel.org/riscv/c/5cd900b8b7e4

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list