On Tue, Sep 29, 2015 at 09:34:07PM -0400, Rich Felker wrote: > This is the gcc side support of the static-linked PIE functionality > added to binutils in commit 9b8b325a1f4cdaf235e7d803849dde6ededec865:
And unfortunately I wasn't aware of this: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e9abca4f4a48fa8b1fd9778f6a3cd748e099e3bb Now I need to figure out the magic spec macros going on there and work around the fact that default-pie mode has -static implicitly turning default-pie off while we need it to stay on... Would a new --enable-default-pie=always mode be appropriate? I don't think people would be happy with changing the default, especially since glibc does not have an rcrt1.o (yet)... Rich