https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81780
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-09 Ever confirmed|0 |1 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Florian Weimer from comment #1) > Could we turn calls to regparam (3) functions into noplt calls? Some > additional mechanics are probably needed if the address of such a function > is taken. Yes, we can make regparam (3) to imply __attribute__ ((noplt)) with -finstrument-control-flow -mcet. It should work.