https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386

--- Comment #36 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Today, gcc rejects -fpic -mcmodel=kernel on the command line though, and it
doesn't look like you can drop -mcmodel=kernel, so... was there some plan for
dealing with that?

(considering new flags to cover such use case, it would be nice to have
-fstatic-pie, i.e. generate PIE for subsequent link with -static-pie where no
PLT is necessary and all calls can be direct)

Reply via email to