On 04/18/2018 06:59 PM, Kito Cheng wrote:
Hi Jim:
Turned off both the assembler and the linker sounds good idea to me,
but it's not support on current assembler now, and gcc might release in
next few month, so I afraid we'll have a short time gap that is
-mno-relax is broken due to assembler not
Hi Jim:
Turned off both the assembler and the linker sounds good idea to me,
but it's not support on current assembler now, and gcc might release in
next few month, so I afraid we'll have a short time gap that is
-mno-relax is broken due to assembler not support that command
line option in the lat
On Wed, Apr 18, 2018 at 3:10 AM, Kito Cheng wrote:
> * config/riscv/elf.h (LINK_SPEC): Pass --no-relax if
> -mno-relax is present.
> * config/riscv/linux.h (LINK_SPEC): Ditto.
It is easy enough to use -Wl,--no-relax and there are other linker
options that require -Wl so I don't th
1f18c78eb54c9e5aa66b4490af61f8803fa47267 Mon Sep 17 00:00:00 2001
From: Kito Cheng
Date: Wed, 18 Apr 2018 11:22:45 +0800
Subject: [PATCH] RISC-V: Pass --no-relax to linker if -mno-relax is present.
2018-04-18 Kito Cheng
* config/riscv/elf.h (LINK_SPEC): Pass --no-relax if
-mno-relax is present