From 8b7789423cab57f0adc2a1cb374908d73a2f64b8 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 19 Jun 2011 21:22:16 +0000 Subject: Fix misc x32 bugs. bfd/ 2011-06-19 H.J. Lu * elf64-x86-64.c (elf_backend_post_process_headers): Defined for x32. binutils/testsuite/ 2011-06-19 H.J. Lu * binutils-all/elfedit-1.d: Updated for x32. gas/ 2011-06-19 H.J. Lu * configure.tgt: Support x32. ld/ 2011-06-19 H.J. Lu * configure.tgt: Support x32. ld/testsuite/ 2011-06-19 H.J. Lu * ld-elf/eh1.d: Skip x32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-1-local-x86.d: Support x32. * ld-ifunc/ifunc-1-x86.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise. * ld-x86-64/pcrel16.d: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64. --- ld/configure.tgt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ld/configure.tgt') diff --git a/ld/configure.tgt b/ld/configure.tgt index f35298c..dd05975 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -190,6 +190,11 @@ 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" -- cgit v1.1