diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-05-18 15:21:04 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-05-18 15:30:09 +0200 |
commit | 7b5bfe77836442b9aeb75cc520f0d1eb7f82be67 (patch) | |
tree | 042242b904ee724c8beab0f6f0a816f095fcd09f /Makerules | |
parent | aa70d0563256b8ea053203177f756bca33b5cf37 (diff) | |
download | glibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.zip glibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.tar.gz glibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.tar.bz2 |
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: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'Makerules')
0 files changed, 0 insertions, 0 deletions