[PATCH 2/2] RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS
Xi Ruoyao
xry111@xry111.site
Fri Aug 22 13:11:32 GMT 2025
More information about the Binutils mailing list
Fri Aug 22 13:11:32 GMT 2025
- Previous message (by thread): [PATCH 2/2] RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS
- Next message (by thread): [PATCH 2/2] RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2025-08-22 at 06:00 -0700, H.J. Lu wrote: /* snip */ > > All ports of lld/ELF use this logic and Linux kernels linked with lld > > are working well: > > https://github.com/llvm/llvm-project/commit/ba2de8f22d0cac86d89c1806fb54ed3463349342 > > > > How does it work with x86-64 kernel compiled as PIE? https://lore.kernel.org/lkml/20240925150059.3955569-30-ardb+git@google.com/ has not made into the kernel yet, so the current kernel is not compiled as PIE, but got relocated with some custom logic on boot. -- Xi Ruoyao <xry111@xry111.site>
- Previous message (by thread): [PATCH 2/2] RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS
- Next message (by thread): [PATCH 2/2] RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list