This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Force usage of PLT (on powerpc)?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]