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]

Re: [PATCH] Handle weak symbols


At 20:37 11.05.2001, Mark Mitchell wrote:
> >>>>> "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.

Ok, will do so, but I have to leave now til Sunday evening, so checkin of 
the patch and documentation will be delayed.

Franz.


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