[PATCH] Handle weak symbols
Mark Mitchell
mark@codesourcery.com
Fri May 11 11:37:00 GMT 2001
>>>>> "Franz" == Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
Franz> OK to commit to mainline and branch?
Yes -- but you need rtl.texi documentation for SYMBOL_REF_WEAK.
Also, gcc.texi says:
This section lists changes that people frequently request, but which
we do not make because we think GCC is better without them.
And then goes on to list:
@item
Assuming (for optimization) that the address of an external symbol is
never zero.
This assumption is false on certain systems when @samp{#pragma weak} is
used.
Obviously, the documentation has been lying here for ages -- we *do*
make this optimization, and have at least since GCC 2.95.2.
Please remove this bullet as well.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list