Skip to content

Allow running position-independent executables (PIE) #213

Closed
@nyh

Description

On Linux we can compile a position-independent executable (PIE) - see -pie, -fpie compiler option. We should have no problem running such executables on OSv, because they are position-independent so can be relocated just like shared objects. But, unfortunately, Avi tried and noticed we're still missing a few features for it to work.

This issue is half-way to #190 (which is about running a normal Linux executable): It will be simpler to implement, and will allow us to run the same executable on both Linux and OSv, but we will not be able to take any random Linux executable and run it (it will have to be an executable compiled as PIE).

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions