Commit 8cc0574a authored by ken's avatar ken

[project @ 2001-07-26 03:13:37 by ken]

Fixed code to not return an undefined value on platforms that are
neither OBJFORMAT_ELF nor OBJFORMAT_PEi386.
parent 47774449
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.53 2001/07/22 03:28:25 chak Exp $
* $Id: Linker.c,v 1.54 2001/07/26 03:13:37 ken Exp $
*
* (c) The GHC Team, 2000
*
......@@ -515,6 +515,9 @@ lookupSymbol( char *lbl )
if (sym != NULL) return sym;
}
return NULL;
# else
ASSERT(2+2 == 5);
return NULL;
# endif
} else {
return val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment