This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug report: objc classes linked in wrong order
- To: nicola at brainstorm dot co dot uk
- Subject: Re: Bug report: objc classes linked in wrong order
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 30 May 2000 08:39:42 -0600
- cc: rth at cygnus dot com, hjl at lucon dot org, egcs at sourceware dot cygnus dot com, ovidiu at cup dot hp dot com, gcc at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.10.10005301151001.2211-100000@lin9.brainstorm.co.uk>yo
u write:
> I can't see any function or symbol we could make weak.
> Making __objc_exec_class weak is not what we want - that function is
> global. The classes to load are got accessing directly the pointer passed
> as argument of __objc_exec_class - don't see what we can make weak here.
Start by ignoring all the Objective-C stuff. Ultimately you have a hunk of
code. That code is contained within a function, which in turn is contained
within a .o file, which is contained within a .a file.
If so, then we can make the function weak.
We're talking about low level object file capabilities, not language
capabilities.
jeff