Re: [PATCH] perf symbol: Add RISCV case in get_plt_sizes

From: Namhyung Kim

Date: Thu Mar 19 2026 - 13:25:14 EST


On Tue, 17 Mar 2026 11:48:47 +0800, cp0613@xxxxxxxxxxxxxxxxx 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