RISC-V: Pass --no-relax to linker if -mno-relax is present.
authorKito Cheng <kito.cheng@gmail.com>
Sat, 21 Apr 2018 01:03:30 +0000 (01:03 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 21 Apr 2018 01:03:30 +0000 (18:03 -0700)
commit559fb136c980cd1d52af43202c3a9dc511ea2240
treedb7da3fdafb869d3059d2d7ac49c5cdcc04c6022
parentf046f4b07cde34a9788d6165f07fae2347bef0af
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.

From-SVN: r259540
gcc/ChangeLog
gcc/config/riscv/elf.h
gcc/config/riscv/linux.h