RISC-V: Pass --no-relax to linker if -mno-relax is present.
commit136d0207f5fc08779f0309e10d4a085cd7900630
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Apr 2018 01:03:30 +0000 (21 01:03 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Apr 2018 01:03:30 +0000 (21 01:03 +0000)
treedb7da3fdafb869d3059d2d7ac49c5cdcc04c6022
parentbe6b6ce8499eca9bf72ca785b442f04869f05ad9
RISC-V: Pass --no-relax to linker if -mno-relax is present.

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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259540 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/riscv/elf.h
gcc/config/riscv/linux.h