rtld: Fix assertion I broke.

textrel is a bool, not a pointer.

Pointy hat to:	jhb
Reported by:	kevans
Fixes:		6a2d75d248 rtld: Trim a few more MIPS #ifdefs.
This commit is contained in:
John Baldwin 2022-01-27 14:42:40 -08:00
parent 522f538354
commit d33d8f7ef4

View File

@ -2356,7 +2356,7 @@ init_rtld(caddr_t mapbase, Elf_Auxinfo **aux_info)
objtmp.dynamic = rtld_dynamic(&objtmp);
digest_dynamic1(&objtmp, 1, &dyn_rpath, &dyn_soname, &dyn_runpath);
assert(objtmp.needed == NULL);
assert(objtmp.textrel == NULL);
assert(!objtmp.textrel);
/*
* Temporarily put the dynamic linker entry into the object list, so
* that symbols can be found.