https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86224
--- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> --- Sent https://gcc.gnu.org/ml/gcc-patches/2018-07/msg01791.html for review. I went by hidden symbols as they generate roughly the same code as before and don't require GOT/PCREL setup.