binutils-2_28-branch: RISC-V gas: Remove em=linux from configure.tgt

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

binutils-2_28-branch: RISC-V gas: Remove em=linux from configure.tgt

Palmer Dabbelt
Is this OK for the 2.28 branch?

Reply | Threaded
Open this post in threaded view
|

[PATCH] RISC-V gas: Remove em=linux from configure.tgt

Palmer Dabbelt
From: Sebastian Huber <[hidden email]>

The use of te-linux.h is unnecessary since the TE_LINUX define is unused
and LOCAL_LABELS_FB is defined to 1 in tc-riscv.h as well.

gas/
        * configure.tgt (riscv*-*-*): Remove em=linux.
---
 gas/ChangeLog     | 4 ++++
 gas/configure.tgt | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index bc406af..e5a9355 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-24  Sebastian Huber <[hidden email]>
+
+ * configure.tgt (riscv*-*-*): Remove em=linux.
+
 2017-01-18  Maciej W. Rozycki  <[hidden email]>
 
  PR gas/20649
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 823d7fc..711d537 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -396,7 +396,7 @@ case ${generic_target} in
   ppc-*-kaos*) fmt=elf ;;
   ppc-*-lynxos*) fmt=elf em=lynx ;;
 
-  riscv*-*-*) fmt=elf endian=little em=linux ;;
+  riscv*-*-*) fmt=elf endian=little ;;
 
   s390-*-linux-*) fmt=elf em=linux ;;
   s390-*-tpf*) fmt=elf ;;
--
2.10.2

Reply | Threaded
Open this post in threaded view
|

Re: binutils-2_28-branch: RISC-V gas: Remove em=linux from configure.tgt

Tristan Gingold-2
In reply to this post by Palmer Dabbelt

> On 24 Jan 2017, at 21:19, Palmer Dabbelt <[hidden email]> wrote:
>
> Is this OK for the 2.28 branch?

Yes, that's ok.