[PATCH] extend.texi: Expand on the perils of using the 'leaf' attribute.
Sandra Loosemore
sandra@codesourcery.com
Mon Mar 14 22:15:00 GMT 2016
On 03/14/2016 12:40 PM, Carlos O'Donell wrote:
> Using the 'leaf' attribute is difficult in certain use cases, and the
> documentation rightly points out that signals is one such problem.
>
> We should additionally document the following caveats:
>
> * Indirect function resolvers (thanks to Florian Weimer for catching this).
> * Indirect function implementations
> * ELF symbol interposition.
>
> [snip]
>
> gcc/
> 2016-03-14 Carlos O'Donell <carlos@redhat.com>
>
> * doc/extend.texi (Common Function Attributes): Describe ifunc impact
> on leaf attribute.
>
Hmmmm. Both your patch and the original text really need some
copy-editing to fix noun/verb agreement, punctuation, etc. How about
something like the attached patch? I just threw this together and
haven't tested this in any way, but you confirm that it builds and it
looks OK to you, feel free to check it in.
-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leaf.patch
Type: text/x-patch
Size: 2886 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160314/3d307420/attachment.bin>
More information about the Gcc-patches
mailing list