https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93492
--- Comment #28 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #27 from H.J. Lu <hjl.tools at gmail dot com> --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #26) >> > --- Comment #25 from H.J. Lu <hjl.tools at gmail dot com> --- >> > -fpatchable-function-entry and -mfentry generate special instruction >> > sequence at function entry. Does Solaris support such special >> > instruction sequence? >> >> Where would such support live? The kernel? libc.so.1? ld.so.1? > > -fpatchable-function-entry and -mfentry are used in Linux kernel. In that case: no. The Solaris kernel can (and is) compiled both by gcc and Studio cc, and the latter certainly hasn't anything similar.