This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: No .got section in ELF
On Nov 26, 2009, yunfeng zhang <zyf.zeroos@gmail.com> wrote:
> The result is the same
But the code isn't. See how, with hidden, we use the fixed offset.
Now remove the hidden attribute, define g also in the main program, and
see what it prints.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer