projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fdd1f23
)
[project @ 2002-06-11 08:06:33 by matthewc]
author
matthewc
<unknown>
Tue, 11 Jun 2002 08:06:33 +0000
(08:06 +0000)
committer
matthewc
<unknown>
Tue, 11 Jun 2002 08:06:33 +0000
(08:06 +0000)
#ifdef use of EM_IA_64
ghc/rts/Linker.c
patch
|
blob
|
history
diff --git
a/ghc/rts/Linker.c
b/ghc/rts/Linker.c
index
5d03dd3
..
12be467
100644
(file)
--- a/
ghc/rts/Linker.c
+++ b/
ghc/rts/Linker.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Linker.c,v 1.93 2002/06/10 02:13:03 matthewc Exp $
+ * $Id: Linker.c,v 1.94 2002/06/11 08:06:33 matthewc Exp $
*
* (c) The GHC Team, 2000, 2001
*
*
* (c) The GHC Team, 2000, 2001
*
@@
-2115,7
+2115,9
@@
ocVerifyImage_ELF ( ObjectCode* oc )
switch (ehdr->e_machine) {
case EM_386: IF_DEBUG(linker,belch( "x86" )); break;
case EM_SPARC: IF_DEBUG(linker,belch( "sparc" )); break;
switch (ehdr->e_machine) {
case EM_386: IF_DEBUG(linker,belch( "x86" )); break;
case EM_SPARC: IF_DEBUG(linker,belch( "sparc" )); break;
+#ifdef EM_IA_64
case EM_IA_64: IF_DEBUG(linker,belch( "ia64" )); break;
case EM_IA_64: IF_DEBUG(linker,belch( "ia64" )); break;
+#endif
default: IF_DEBUG(linker,belch( "unknown" ));
belch("%s: unknown architecture", oc->fileName);
return 0;
default: IF_DEBUG(linker,belch( "unknown" ));
belch("%s: unknown architecture", oc->fileName);
return 0;