This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ATTRIBUTE_WEAK not working in crtstuff.c?
- From: Richard Henderson <rth at redhat dot com>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: Alan Modra <amodra at bigpond dot net dot au>, Raja R Harinath <harinath at cs dot umn dot edu>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Apr 2002 10:44:07 -0700
- Subject: Re: ATTRIBUTE_WEAK not working in crtstuff.c?
- References: <d9d6wxx233.fsf@bose.cs.umn.edu> <d9d6wxx233.fsf@bose.cs.umn.edu> <20020418075205.GB27345@bubble.sa.bigpond.net.au> <5.1.1.2.2.20020418101157.02885540@mail.lauterbach.com>
On Thu, Apr 18, 2002 at 10:29:47AM +0200, Franz Sirl wrote:
> Even that didn't cover all cases IIRC. If someone would come up with some
> testcases specifying the desired semantics of attribute((weak)) vs. #pragma
> weak vs. declaration vs. definition, I'm willing to work on it again.
Quite simple: attributes are sticky, and #pragma is a funny name
for an attribute.
r~