summaryrefslogtreecommitdiff
path: root/docs/defines.txt
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-11-28 21:09:47 +0100
commit57f6cce72c889f2e7b342e87a565a064320a6ee2 (patch)
tree5466406472918d3adb63398f5fb9ea1511a5e73f /docs/defines.txt
parent4ec89b87bc0eea8d9ca6b50564d12eeb3b1b0119 (diff)
parent5dea871ac73ef4608022c058b50adc946917f9b9 (diff)
Merge commit 'origin/master' into prelink
Conflicts: ldso/include/dl-hash.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'docs/defines.txt')
-rw-r--r--docs/defines.txt20
1 files changed, 16 insertions, 4 deletions
diff --git a/docs/defines.txt b/docs/defines.txt
index 23991813e..6e4a60485 100644
--- a/docs/defines.txt
+++ b/docs/defines.txt
@@ -16,11 +16,18 @@ _LARGEFILE[64]_SOURCE
_FILE_OFFSET_BITS
???
-__NTH(fct)
__THROW
-__REDIRECT(name, proto, alias)
-__REDIRECT_NTH(name, proto, alias)
- ???
+ Function annotation "I do not throw anything".
+__NTH(func(params))
+ Function annotation "I do not throw anything".
+ Needed for situatuons when it's unclear on what side of "func(params)"
+ the "throw()" or "attribute((nothrow))" should eventually appear.
+ Messy, eh?
+
+return_type __REDIRECT(name, (params), alias)
+ declare alias to "name(params)"
+return_type __REDIRECT_NTH(name, (params), alias)
+ declare alias to "name(params) __THROW"
__BIG_ENDIAN 4321
__LITTLE_ENDIAN 1234
@@ -49,6 +56,7 @@ _EXTERN_INLINE
__extern_inline
Defined to "extern inline", modulo gcc/C standard deviations.
Can't be used by user to play tricks as with _EXTERN_INLINE.
+
internal_function
Used to modify function's calling convention, if "standard" one
is suboptimal. Examples:
@@ -71,3 +79,7 @@ _IEEE_LIBM
Always defined at libm build time
__LDBL_COMPAT
Never defined, TODO: remove?
+
+__SSP_ALL__
+ All functions, even small ones, have stack smashing protection
+ prologue enabled.