This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/13344] Marking all functions which don't have callbacks with the leaf attribute breaks pthread applications.
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 25 Oct 2011 20:51:21 +0000
- Subject: [Bug nptl/13344] Marking all functions which don't have callbacks with the leaf attribute breaks pthread applications.
- Auto-submitted: auto-generated
- References: <bug-13344-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13344
--- Comment #2 from Jakub Jelinek <jakub at redhat dot com> 2011-10-25 20:51:21 UTC ---
There are other functions that shouldn't be marked leaf BTW, although they are
__THROW - e.g. sprintf/snprintf/vsprintf/vsnprintf and their checking
equivalents - it is possible to register a printf hook and the hook certainly
can be defined in the current function. And the wide counterparts too. I'd
say sscanf/vsscanf should be treated similarly just in case there will be scanf
hooks implemented in the future.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.