This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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