Force usage of PLT (on powerpc)?

Alan Modra amodra@bigpond.net.au
Thu Oct 28 16:41:00 GMT 2004


If you're willing to do a little hacking of gcc, you might like to
1) find all the occurrences of "@plt" in gcc/config/rs6000/ and
   replace the flag_pic test with a test of flag_shlib.
2) provide a means of setting flag_shlib independently of flag_pic.

I'm not guaranteeing that will work, but it has half a chance..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Gcc mailing list