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)
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)