aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2002-10-16 19:54:54 +0000
committerJakub Jelinek <jakub@redhat.com>2002-10-16 19:54:54 +0000
commitf52d1d64053435bf10413c8722f8c547fcdd08ef (patch)
tree72960d6e7774f25ea520d9c6b246a8a5b0f819f9 /ld/configure.tgt
parent74451869f4a5111186d6a84d8d288e1004d4311b (diff)
downloadgdb-f52d1d64053435bf10413c8722f8c547fcdd08ef.zip
gdb-f52d1d64053435bf10413c8722f8c547fcdd08ef.tar.gz
gdb-f52d1d64053435bf10413c8722f8c547fcdd08ef.tar.bz2
* config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs. * config.table: Use mh-s390pic for s390x too. * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. (s390-*-linux*): Add elf64_s390 emulation if want64. * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 genscript.sh changes. * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt12
1 files changed, 10 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 48b2c5c..0aca3d0 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -518,8 +518,16 @@ fr30-*-*) targ_emul=elf32fr30 ;;
mcore-*-pe) targ_emul=mcorepe ;
targ_extra_ofiles="deffilep.o pe-dll.o" ;;
mcore-*-elf) targ_emul=elf32mcore ;;
-s390x-*-linux*) targ_emul=elf64_s390 ;;
-s390-*-linux*) targ_emul=elf_s390 ;;
+s390x-*-linux*) targ_emul=elf64_s390
+ targ_extra_emuls=elf_s390
+ targ_extra_libpath=$targ_extra_emuls
+ tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;;
+s390-*-linux*) targ_emul=elf_s390
+ if test "${want64}" = "true"; then
+ targ_extra_emuls=elf64_s390
+ targ_extra_libpath=$targ_extra_emuls
+ tdir_elf64_s390=`echo ${targ_alias} | sed -e 's/s390/s390x/'`
+ fi ;;
*-*-ieee*) targ_emul=vanilla ;;
ip2k-*-elf) targ_emul=elf32ip2k ;;