Test before commit.

This commit is contained in:
skrll 2004-05-17 11:00:01 +00:00
parent c007da99a0
commit e88c851d08

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtld.c,v 1.103 2004/05/17 10:23:58 skrll Exp $ */
/* $NetBSD: rtld.c,v 1.104 2004/05/17 11:00:01 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@ -147,10 +147,10 @@ _rtld_init(caddr_t mapbase, caddr_t relocbase)
_rtld_objself.dynamic = (Elf_Dyn *) &_DYNAMIC;
_rtld_digest_dynamic(&_rtld_objself);
assert(!_rtld_objself.needed)
assert(!_rtld_objself.needed);
assert(!_rtld_objself.pltrel && !_rtld_objself.pltrela);
#if !defined(__mips__)
assert(!_rtld_objself.pltgot)
assert(!_rtld_objself.pltgot);
#endif
#if !defined(__arm__) && !defined(__mips__) && !defined(__sh__)
/* ARM, MIPS and SH{3,5} have a bogus DT_TEXTREL. */