aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-03-18 16:42:43 +0000
committerJan Hubicka <jh@suse.cz>2002-03-18 16:42:43 +0000
commitbeb43bb9f438c2b23c0875b84f9f401b64652839 (patch)
treeae83155a21cb82e5a0d2385f1e9c0a04c0825b60 /ld/configure.tgt
parentfb0ff88f8f9acdaf3eae3d368d79f7676ccddb7d (diff)
downloadgdb-beb43bb9f438c2b23c0875b84f9f401b64652839.zip
gdb-beb43bb9f438c2b23c0875b84f9f401b64652839.tar.gz
gdb-beb43bb9f438c2b23c0875b84f9f401b64652839.tar.bz2
* cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"
* configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. * elf_x86_64.sh (ARCH): Set to i386:x86-64 set libraries to default to lib64 paths.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 504c26f..4f75a12 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -145,7 +145,9 @@ i[3456]86-*-linux-gnu*) targ_emul=elf_i386
;;
x86_64-*-linux-gnu*) targ_emul=elf_x86_64
targ_extra_emuls="elf_i386 i386linux"
- tdir_i386linux=${targ_alias}aout
+ targ_extra_libpath=elf_i386
+ tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'`
+ tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
;;
i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;;
i[3456]86-*-solaris2*) targ_emul=elf_i386_ldso