mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
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:
parent
522f538354
commit
d33d8f7ef4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user