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

Palmer Dabbelt palmer@dabbelt.com
Tue Jan 24 20:36:00 GMT 2017


From: Sebastian Huber <sebastian.huber@embedded-brains.de>

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 <sebastian.huber@embedded-brains.de>
+
+	* configure.tgt (riscv*-*-*): Remove em=linux.
+
 2017-01-18  Maciej W. Rozycki  <macro@imgtec.com>
 
 	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



More information about the Binutils mailing list