gcc/
2018-04-20 Kito Cheng <kito.cheng@gmail.com>
* config/riscv/elf.h (LINK_SPEC): Pass --no-relax if
-mno-relax is present.
* config/riscv/linux.h (LINK_SPEC): Ditto.
From-SVN: r259540
+2018-04-20 Kito Cheng <kito.cheng@gmail.com>
+
+ * config/riscv/elf.h (LINK_SPEC): Pass --no-relax if
+ -mno-relax is present.
+ * config/riscv/linux.h (LINK_SPEC): Ditto.
+
2018-04-20 Martin Sebor <msebor@redhat.com>
PR c/85365
#define LINK_SPEC "\
-melf" XLEN_SPEC "lriscv \
+%{mno-relax:--no-relax} \
%{shared}"
/* Link against Newlib libraries, because the ELF backend assumes Newlib.
#define LINK_SPEC "\
-melf" XLEN_SPEC "lriscv \
+%{mno-relax:--no-relax} \
%{shared} \
%{!shared: \
%{!static: \