aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-03-05 11:54:29 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-03-05 11:54:29 +0000
commita07ee50e95c6176ea58919254e4001a15dd7622b (patch)
treed3c6181836a2914783a2f5f9d633124c531e38fc /ld/configure.tgt
parentee36d91878ff644d64438a90d5c6ff5d3fe91746 (diff)
downloadgdb-a07ee50e95c6176ea58919254e4001a15dd7622b.zip
gdb-a07ee50e95c6176ea58919254e4001a15dd7622b.tar.gz
gdb-a07ee50e95c6176ea58919254e4001a15dd7622b.tar.bz2
* configure.host: Add x86_64-*-cygwin* as valid host.
* configure.tgt: Add x86_64-*-cygwin* as valid target. * emultempl/pep.em: Handle different requirements for Cygwin in terms of start addresses for executables and DLLs, based on memory model in http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index b015dde..3b06dd3 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -316,6 +316,10 @@ i[3-7]86-*-mingw32*) targ_emul=i386pe ;
x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ;
targ_extra_emuls=i386pe ;
targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;
+x86_64-*-cygwin) targ_emul=i386pep ;
+ targ_extra_emuls=i386pe
+ targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o"
+ test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;;
x86_64-*-mingw*) targ_emul=i386pep ;
targ_extra_emuls=i386pe
targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;;
@@ -821,7 +825,7 @@ spu-*-elf*)
NATIVE_LIB_DIRS='/lib'
;;
-i[03-9x]86-*-cygwin*)
+i[03-9x]86-*-cygwin* | x86_64-*-cygwin*)
NATIVE_LIB_DIRS='/usr/lib /usr/lib/w32api'
;;