This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Questions about PIC code
- From: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 23 Jan 2003 11:24:23 -0500
- Subject: 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)