https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63888
--- Comment #28 from Eric Christopher <echristo at gmail dot com> --- Ah, but not every platform is ELF :) ld64 has the flexibility to do this with Mach-O. As I said, I don't have any better ideas at the moment, but warning that it is possible to break.