This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Re: Visibility=hidden for x86_64 Xen builds -- problems?
- From: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- To: "Jan Beulich" <jbeulich at novell dot com>, gcc at gcc dot gnu dot org, binutils at sourceware dot org, discuss at x86-64 dot org
- Cc: "Keir Fraser" <Keir dot Fraser at cl dot cam dot ac dot uk>
- Date: Fri, 29 Sep 2006 11:33:59 -0500
- Subject: RE: Re: Visibility=hidden for x86_64 Xen builds -- problems?
Jan,
> Xen gets compiled with -fPIC, and we recently added a global
> visibility
> pragma to avoid the cost of going through the GOT for all access to
> global data objects (PIC isn't really needed here, all we need is
> sufficient compiler support to get the final image located outside the
> +/-2Gb ranges, but large model support is neither there in older
> compilers nor do we really need all of it either).
Have you tried protected visibility? Internal accesses are direct, but they still use GOT slots...
HTH
_______________________________________________________
Evandro Menezes GNU Tools Team
512-602-9940 Advanced Micro Devices
evandro.menezes@amd.com Austin, TX