aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1998-11-09 21:51:51 +0000
committerDJ Delorie <dj@redhat.com>1998-11-09 21:51:51 +0000
commiteb8061bf350faa0074e04a9746f1284cf7604360 (patch)
treee129a194446ea447d8e4301d0ca3d918a82adc82 /ld/configure.tgt
parent83da26349f99fa7a8d40b8f3349a9a156268faaf (diff)
downloadgdb-eb8061bf350faa0074e04a9746f1284cf7604360.zip
gdb-eb8061bf350faa0074e04a9746f1284cf7604360.tar.gz
gdb-eb8061bf350faa0074e04a9746f1284cf7604360.tar.bz2
* pe-dll.c: New file; direct support for PE DLLs
* deffile.h: New file; direct support for PE DLLs * deffilep.y: New file; direct support for PE DLLs * emultempl/pe.em: add direct support for PE DLLs * configure.tgt: allow target-specific extra files * configure.in: allow target-specific extra files * ldlang.c (lang_add_assignment): return the assignment so that one can change the value later based on the object files (pe-dll DEF files do this) * ldint.texinfo: add section for emulation walkthrough
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index c9cfea9..426641d 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -7,8 +7,10 @@
# following shell variables:
# targ_emul name of linker emulation to use
# targ_extra_emuls additional linker emulations to provide
+# targ_extra_ofiles additional objects needed by the emulation
targ_extra_emuls=
+targ_extra_ofiles=
case "${targ}" in
arm-*-pe) targ_emul=armpe ;;
@@ -99,7 +101,8 @@ i[3456]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;;
i[3456]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;;
i[3456]86-*-winnt*) targ_emul=i386pe ;;
i[3456]86-*-pe) targ_emul=i386pe ;;
-i[3456]86-*-cygwin32*) targ_emul=i386pe ;;
+i[3456]86-*-cygwin32*) targ_emul=i386pe ;
+ targ_extra_ofiles="deffilep.o pe-dll.o" ;;
i[3456]86-*-mingw32*) targ_emul=i386pe ;;
# start-sanitize-beos
i[3456]86-*-beospe*) targ_emul=i386beos ;;