genode/repos/base-linux/src
Norman Feske 4b46abf813 base: rm first-class support for static binaries
This patch removes the detection of statically linked executables from
the base framework. It thereby fixes the corner cases encountered with
Sculpt when obtaining the binaries of the runtime from the depot_rom
service that is hosted within the runtime.

Statically linked binaries and hybrid Linux/Genode (lx_hybrid) binaries
can still be started by relabeling the ROM-session route of "ld.lib.so"
to the binary name, pretending that the binary is the dynamic linker.
This can be achieved via init's label rewriting mechanism:

  <route>
    <service name="ROM" unscoped_label="ld.lib.so">
      <parent label="test-platform"/> </service>
  </route>

However, as this is quite cryptic and would need to be applied for all
lx_hybrid components, the patch adds a shortcut to init's configuration.
One can simply add the 'ld="no"' attribute to the <start> node of the
corresponding component:

  <start name="test-platform" ld="no"/>

Fixes #2866
2018-08-02 14:36:38 +02:00
..
core base: support to attach RAM dataspaces readonly 2018-05-30 13:36:27 +02:00
include base: support to attach RAM dataspaces readonly 2018-05-30 13:36:27 +02:00
ld linux: stack-area handling with recent Linux kernels 2017-10-05 17:40:00 +02:00
lib base: rm first-class support for static binaries 2018-08-02 14:36:38 +02:00
test Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00