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

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Sriraman Tallam from comment #2)
> Yes, I second this idea and I proposed doing -fno-plt=symbol
> originally but was shot down because it was felt using mangled symbols
> on command line is not desirable. This should be helpful however.

The mangled symbols are useful.  I used

readelf -rW /bin/ls | grep JUMP_SLOT | awk '{ print $5 }' | sed -e "s/@.*//"

to generate a list of function symbols to be called from their
GOT slots.

Reply via email to