Skip to content
Commit 7b5bfe77 authored by Florian Weimer's avatar Florian Weimer
Browse files

elf: Assert that objects are relocated before their constructors run



If we try to run constructors before relocation, this is always
a dynamic linker bug.  An assert is easier to notice than a call
via an invalid function pointer (which may not even produce a valid
call stack).

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent aa70d056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment