]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Pass -mno-relax to assembler
authorKito Cheng <kito.cheng@sifive.com>
Tue, 25 May 2021 13:26:12 +0000 (21:26 +0800)
committerKito Cheng <kito.cheng@sifive.com>
Tue, 25 May 2021 13:28:14 +0000 (21:28 +0800)
gcc/ChangeLog:
* config/riscv/riscv.h (ASM_SPEC): Pass -mno-relax.

gcc/config/riscv/riscv.h

index f3e85723c85d59d776a0c0b0780f67ca00dd0ca4..f47d5b40a66afa902ce52dc4e5b6ad1e07880f65 100644 (file)
@@ -98,6 +98,7 @@ extern const char *riscv_default_mtune (int argc, const char **argv);
 %{" FPIE_OR_FPIC_SPEC ":-fpic} \
 %{march=*} \
 %{mabi=*} \
+%{mno-relax} \
 %{mbig-endian} \
 %{mlittle-endian} \
 %(subtarget_asm_spec)" \