genode/repos/libports/src/lib/libc
Christian Helmuth cb43e04691 ldso: defer execution of static constructors
Ldso now does not automatically execute static constructors of the
binary and shared libraries the binary depends on. If static
construction is required (e.g., if a shared library with constructor is
used or a compilation unit contains global statics) the component needs
to execute the constructors explicitly in Component::construct() via
Genode::Env::exec_static_constructors().

In the case of libc components this is done by the libc startup code
(i.e., the Component::construct() implementation in the libc).

The loading of shared objects at runtime is not affected by this change
and constructors of those objects are executed immediately.

Fixes #2332
2017-03-24 16:20:04 +01:00
..
include/spec Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
patches libc: add 'max_align_t' type 2017-03-15 13:12:26 +01:00
addrinfo.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
atexit.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
clock_gettime.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
dummies.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
dynamic_linker.cc libc: API transition (fix deprecated warnings) 2017-02-07 11:12:24 +01:00
environ.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
errno.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
exit.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
fd_alloc.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
file_operations.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
gai_strerror.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
gettimeofday.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
issetugid.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
libc_errno.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
libc_file.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
libc_init.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
libc_mem_alloc.cc libc: warn but don't stop on too early allocations 2017-02-07 19:20:29 +01:00
libc_mem_alloc.h libc: API transition (fix deprecated warnings) 2017-02-07 11:12:24 +01:00
libc_mmap_registry.h libc: remove global env from mmap registry 2017-02-28 12:59:27 +01:00
libc_pdbg.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
libc_pdbg.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
log2.c Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
malloc.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
nanosleep.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
plugin_registry.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
plugin.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
poll.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
pread_pwrite.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
progname.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
readv_writev.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
rlimit.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
rtc.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
select.cc libc: use proper fd sets in select-handler select 2017-03-15 12:24:44 +01:00
signal.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
socket_fs_plugin.cc libc: poll listening sockets during select 2017-03-24 16:19:55 +01:00
socket_fs_plugin.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
socket_operations.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
sysctl.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
task.cc ldso: defer execution of static constructors 2017-03-24 16:20:04 +01:00
task.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
Version.def Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
vfs_plugin.cc libc: checks for initialization and user context 2017-03-24 16:20:03 +01:00
vfs_plugin.h Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00