This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: freebsd-aout and _GLOBAL_OFFSET_TABLE_
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: obrien at FreeBSD dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 03 Apr 2002 00:41:25 -0300
- Subject: Re: freebsd-aout and _GLOBAL_OFFSET_TABLE_
- Organization: GCC Team, Red Hat
- References: <or663eflub.fsf@free.redhat.lsd.ic.unicamp.br><20020402175539.A4246@dragon.nuxi.com>
On Apr 2, 2002, "David O'Brien" <obrien@FreeBSD.org> wrote:
> On Sat, Mar 30, 2002 at 06:26:04AM -0300, Alexandre Oliva wrote:
>> FreeBSD 2's assembler and linker take _GLOBAL_OFFSET_TABLE_ as a
>> special symbol. The problem is that FreeBSD a.out prefixes symbol
> Mucho thanks for continuing to look at FreeBSD a.out issues.
No problem :-)
> Why the "#ifndef"?
Just defensive programming. I was not sure about the order of
inclusion of headers, and found it reasonable to do it that way, since
that's the default, so that it could be overridden before or after.
No big deal.
Anyway, it doesn't seem that this patch was enough. I'm yet to
investigate why some references to __GLOBAL_OFFSET_TABLE_ remained.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer