Skip to content
Commit 4d7fe771 authored by Jonathon Penix's avatar Jonathon Penix Committed by Carles Cufí
Browse files

linker: lld: riscv: Enable gp relaxation for lld



Unlike GNU ld, lld's gp relaxation is disabled by default and must be
explicitly enabled via `--relax-gp`. Pass this flag to enable gp relaxation
for lld when both linker relaxations and gp usage for RISC-V are enabled.

Signed-off-by: default avatarJonathon Penix <jpenix@quicinc.com>
parent 9b7d176b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment