Skip to content
Commit 09f21452 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

riscv: Build with -mno-relax if linker does not support R_RISCV_ALIGN



It allows build both glibc and tests with lld (Since lld does not
support R_RISCV_ALIGN linker relaxation).

Checked with a build for riscv32-linux-gnu-rv32imafdc-ilp32d and
riscv64-linux-gnu-rv64imafdc-lp64d.

Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
Reviewed-by: default avatarFangrui Song <maskray@google.com>
parent 6720d36b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment