From: chak Date: Sun, 22 Jul 2001 03:28:25 +0000 (+0000) Subject: [project @ 2001-07-22 03:28:25 by chak] X-Git-Tag: Approximately_9120_patches~1489 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=6ea86573500e4a576d22feec71e36cf27c94aaa9 [project @ 2001-07-22 03:28:25 by chak] ELF_TARGET_386 has to be #defined for x86/Solaris. --- diff --git a/ghc/rts/Linker.c b/ghc/rts/Linker.c index a376c53..a12ad22 100644 --- a/ghc/rts/Linker.c +++ b/ghc/rts/Linker.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Linker.c,v 1.52 2001/07/20 01:05:11 sof Exp $ + * $Id: Linker.c,v 1.53 2001/07/22 03:28:25 chak Exp $ * * (c) The GHC Team, 2000 * @@ -1368,7 +1368,12 @@ ocResolve_PEi386 ( ObjectCode* oc ) #if defined(sparc_TARGET_ARCH) # define ELF_TARGET_SPARC /* Used inside */ +#elif defined(i386_TARGET_ARCH) +# define ELF_TARGET_386 /* Used inside */ #endif +/* There is a similar case for IA64 in the Solaris2 headers if this + * ever becomes relevant. + */ #include