From eb382f8e2b7dd2e43cfe3ef398c0ef8406b6b23b Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 24 Aug 1997 18:11:23 +0000 Subject: [PATCH] Make sure we're passed a valid obj_entry. --- lib/csu/mips/crt0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/csu/mips/crt0.c b/lib/csu/mips/crt0.c index 993becf95396..918d1e2001ee 100644 --- a/lib/csu/mips/crt0.c +++ b/lib/csu/mips/crt0.c @@ -193,7 +193,7 @@ __start(sp, cleanup, obj, ps_strings) * XXX If we were loaded by that loader, just abort * XXX the rtld setup. */ - if (&_DYNAMIC != NULL && cleanup != NULL /*&& obj != NULL*/) + if (&_DYNAMIC != NULL && cleanup != NULL && obj != NULL) rtld_setup(cleanup, obj); #endif }