genode/repos/demo
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
..
doc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
include Adaptation to init refactoring 2017-03-24 16:19:56 +01:00
lib Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
src ldso: defer execution of static constructors 2017-03-24 16:20:04 +01:00