This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] Fix attributes for fortify functions
- From: Marek Polacek <polacek at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 22 Apr 2012 20:13:26 +0200
- Subject: [PATCH 0/2] Fix attributes for fortify functions
As discussed here:
http://sourceware.org/ml/libc-alpha/2012-04/msg00581.html
__extern_always_inline shouldn't contain __attribute__ ((artificial)),
so we throw it out of this macro and define a new macro for this,
__attribute_artificial__. Furthermore, we define a new macro
specially for fortification functions, __fortify_function, which tells
that a function should be both always_inlined and artificial.
The first patch does just this, the second one makes use of
__fortify_function macro where appropriate.
Regtested on x86_64-linux, ok for trunk?
Marek