[PATCH] perf symbol: Add RISCV case in get_plt_sizes
Namhyung Kim
namhyung at kernel.org
Thu Mar 19 10:24:37 PDT 2026
On Tue, 17 Mar 2026 11:48:47 +0800, cp0613 at linux.alibaba.com wrote:
> According to RISC-V psABI specification, the PLT (Program Linkage Table)
> has the following layout:
> - The first PLT entry occupies two 16-byte entries (32 bytes total)
> - Subsequent PLT entries take up 16 bytes each
>
> This aligns with the binutils-gdb implementation which defines the same
> PLT sizes for RISC-V architecture.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung
More information about the linux-riscv
mailing list