Skip to content

allocsld.so and liballocs_preload.so should be the same binary #145

@stephenrkell

Description

@stephenrkell

We were covering this in #56 but it's really a separate issue.

In order to finish #98 and #97 and generally clean up the initialization of liballocs (needed indirectly by #123), we want there to no longer be separate DSOs performing the load-time (allocsld) and run-time (liballocs) functions. Instead, the loader will be a complete liballocs DSO whose memory image we later trick the host dynamic linker into "adopting" as the run-time memory image of the liballocs library.

One incidental obstacle is that allocsld has its own private no-TLS copy of meta-dso.o. I think we can fix this by symbol prefixing or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions