Skip to content
Snippets Groups Projects
Commit 1f7b1c55 authored by Yangyu Chen's avatar Yangyu Chen Committed by Kito Cheng
Browse files

RISC-V: allow -fno-plt to disable PLT


Currently, the RISC-V target uses the target specific mplt option to
control PLT generation. This patch deprecates the target specific mplt
option and uses the common fplt option instead. This allows users to
use the same option for most targets.

Co-Developed-by: default avatarLiao Shihua <shihua@iscas.ac.cn>
Signed-off-by: default avatarYangyu Chen <cyy@cyyself.name>

gcc/ChangeLog:

	* config/riscv/predicates.md: Use flag_plt instead of TARGET_PLT.
	* config/riscv/riscv.opt: alias common option fplt to mplt.
parent 1de156eb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment