https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119386
--- Comment #28 from Ard Biesheuvel <ardb at kernel dot org> --- (In reply to Franz Sirl from comment #27) > Maybe silly question, but since the changelog is only talking about > __fentry__, why couldn't you make the decision based on flag_fentry? Sadly, I don't think we can make a meaningful distinction based on that. This is really about using the GOT and/or PLT in a way that matches the behavior that may be expected from -fPIC codegen.