]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Refactor PLT generation
authorKito Cheng <kito.cheng@sifive.com>
Wed, 11 Jun 2025 08:33:46 +0000 (16:33 +0800)
committerNelson Chu <nelson@rivosinc.com>
Tue, 24 Jun 2025 10:14:29 +0000 (18:14 +0800)
commit51a39a59cacab34595b7e4ebff9812567ec0d4e1
tree2d799fcb8505871773f1121ce3b2fe202738e21d
parentc2873079ce287c80febd54bce97fbd7e56a917a5
RISC-V: Refactor PLT generation

The goal of this refactor is to improve the possiblity of having
different PLT generation code for different RISC-V ABIs. The changes
include:
- Extract PLT generation logic into individual functions.
- Keep the PLT generation data in riscv_elf_link_hash_table.

In the following patches, we will use this framework to implement
different PLT.
bfd/elfnn-riscv.c
bfd/elfxx-riscv.h