tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

static pie revisited



Hi,

On Joerg's advise, I have removed the custom startup assembly stub for
static pie, and now it re-uses the standard crt0.S. The smallish diffs
are here:

1. Arrange for rcrt0.o (static pie) and mcrt0.o (static pie profiling)
   to be used when appropriate. Static binaries don't have interpreters

   https://www.netbsd.org/~christos/static-pie-gcc.diff

2. Add and call _dl_boot_bind() if needed for static pie:

   https://www.netbsd.org/~christos/static-pie-csu.diff

Comments?

christos


Home | Main Index | Thread Index | Old Index