From ade78dba78cd284ca34c045657f4f549da99993f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 20 Jun 2011 13:23:22 +0000 Subject: [PATCH] Revert x86_64-x32-* change. gas/ 2011-06-20 H.J. Lu * configure.tgt: Revert x32 change. ld/ 2011-06-20 H.J. Lu * configure.tgt: Revert x32 change. ld/testsuite/ 2011-06-20 H.J. Lu * ld-elf/eh1.d: Revert x32 change. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. --- gas/ChangeLog | 4 ++++ gas/configure.tgt | 9 +-------- ld/ChangeLog | 4 ++++ ld/configure.tgt | 5 ----- ld/testsuite/ChangeLog | 7 +++++++ ld/testsuite/ld-elf/eh1.d | 1 - ld/testsuite/ld-elf/eh2.d | 1 - ld/testsuite/ld-elf/eh3.d | 1 - ld/testsuite/ld-elf/eh4.d | 1 - 9 files changed, 16 insertions(+), 17 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 1d131369ed0..9d08c19aadf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-06-20 H.J. Lu + + * configure.tgt: Revert x32 change. + 2011-06-20 Nick Clifton * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi. diff --git a/gas/configure.tgt b/gas/configure.tgt index 7f7f6118060..a171a32bbfb 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -81,14 +81,7 @@ case ${cpu} in sparclite*) cpu_type=sparc arch=sparclite ;; sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. v850*) cpu_type=v850 ;; - x86_64*) - cpu_type=i386 - if [ x"$vendor" = xx32 ]; then - arch=x86_64:32 - else - arch=x86_64 - fi - ;; + x86_64*) cpu_type=i386 arch=x86_64;; xtensa*) cpu_type=xtensa arch=xtensa ;; *) cpu_type=${cpu} ;; esac diff --git a/ld/ChangeLog b/ld/ChangeLog index 6748fa3bb16..407cc2dd1ab 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2011-06-20 H.J. Lu + + * configure.tgt: Revert x32 change. + 2011-06-20 Jakub Jelinek PR ld/12570 diff --git a/ld/configure.tgt b/ld/configure.tgt index dd059755c44..f35298cbc88 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -190,11 +190,6 @@ i[3-7]86-*-linux-*) targ_emul=elf_i386 targ64_extra_libpath=elf_x86_64 targ_extra_libpath=elf32_x86_64 tdir_i386linux=${targ_alias}aout ;; -x86_64-x32-linux-*) 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/'` ;; x86_64-*-linux-*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om" diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 39b06b7c6a6..87fd182a2f0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2011-06-20 H.J. Lu + + * ld-elf/eh1.d: Revert x32 change. + * ld-elf/eh2.d: Likewise. + * ld-elf/eh3.d: Likewise. + * ld-elf/eh4.d: Likewise. + 2011-06-20 Jakub Jelinek PR ld/12570 diff --git a/ld/testsuite/ld-elf/eh1.d b/ld/testsuite/ld-elf/eh1.d index 4275de1c767..f0874f73dc2 100644 --- a/ld/testsuite/ld-elf/eh1.d +++ b/ld/testsuite/ld-elf/eh1.d @@ -2,7 +2,6 @@ #source: eh1a.s #ld: #readelf: -wf -#notarget: x86_64-x32-* #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh2.d b/ld/testsuite/ld-elf/eh2.d index a7372f04ffc..1a05d7fc8fb 100644 --- a/ld/testsuite/ld-elf/eh2.d +++ b/ld/testsuite/ld-elf/eh2.d @@ -2,7 +2,6 @@ #source: eh2a.s #ld: #readelf: -wf -#notarget: x86_64-x32-* #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh3.d b/ld/testsuite/ld-elf/eh3.d index a9777a21dff..1f76b8c1756 100644 --- a/ld/testsuite/ld-elf/eh3.d +++ b/ld/testsuite/ld-elf/eh3.d @@ -2,7 +2,6 @@ #source: eh3a.s #ld: #readelf: -wf -#notarget: x86_64-x32-* #target: x86_64-*-* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/eh4.d b/ld/testsuite/ld-elf/eh4.d index b568f3283c7..b8f9865ebff 100644 --- a/ld/testsuite/ld-elf/eh4.d +++ b/ld/testsuite/ld-elf/eh4.d @@ -2,7 +2,6 @@ #source: eh4a.s #ld: -shared #readelf: -wf -#notarget: x86_64-x32-* #target: x86_64-*-* Contents of the .eh_frame section: -- 2.30.2