Skip to content

explore the possibility of using ET_EXEC for static linking #17

@stsp

Description

@stsp

Currently ET_DYN is used both for
static and shared linking. But for
static linking we could probably use
ET_EXEC instead. It may even be
non-pie, relocated to 0x400000,
where we have a reserve for win32
executables.
Since we use static linking for poor
man's OSes anyway (currently freebsd),
why not to limit things even more.
Statically linked non-pie ET_EXEC
can even be supported under DOS!
(well, not a 64bit one, of course)

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