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: Questions about PIC code


I'm trying better to get an understanding about what object have to
accessed through the PLT/GOT.

My question revolves around whether functions that are static to the
file require a call through the PLT.  I don't think they have to go
throught he PLT if the processor supports a pc-relative call.  If so,
then how can one figure out if a symbol is a .text symbol and static?

Is there a quick list out on the web that describes what objects go
through the GOT/PLT with regards to static/non-static, code/data/const,
pc-relative capable or not?

Thanx!

-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)


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