This is the mail archive of the gcc-patches@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: freebsd-aout and _GLOBAL_OFFSET_TABLE_


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


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