This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Enable elf_k1om for x86_64-*-linux-gnux32
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Sun, 24 Jun 2012 11:52:59 -0700
- Subject: PATCH: Enable elf_k1om for x86_64-*-linux-gnux32
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to enable elf_k1om for x86_64-*-linux-gnux32.
H.J.
---
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 91a4211..58b6beb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
+ Remove x32 in tdir_i386linux and tdir_elf_i386.
+
2012-06-22 Roland McGrath <mcgrathr@google.com>
* NEWS: Mention __ehdr_start.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 4171d8c..d69ce6f 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -205,10 +205,10 @@ i[3-7]86-*-linux-*) targ_emul=elf_i386
targ_extra_libpath=elf32_x86_64
tdir_i386linux=${targ_alias}aout ;;
x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
- targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om"
- targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om"
- tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
- tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;;
+ targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
+ targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om"
+ tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/x32//'`
+ tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/x32//'` ;;
x86_64-*-linux-*) targ_emul=elf_x86_64
targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om"