about summary refs log tree commit diff
path: root/elf/soinit.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-18 15:21:04 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-18 15:30:09 +0200
commit7b5bfe77836442b9aeb75cc520f0d1eb7f82be67 (patch)
tree042242b904ee724c8beab0f6f0a816f095fcd09f /elf/soinit.c
parentaa70d0563256b8ea053203177f756bca33b5cf37 (diff)
downloadglibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.tar.gz
glibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.tar.xz
glibc-7b5bfe77836442b9aeb75cc520f0d1eb7f82be67.zip
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 'elf/soinit.c')
0 files changed, 0 insertions, 0 deletions