diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-02-17 14:28:38 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-02-17 14:28:38 -0800 |
commit | 94f3c30dc2d8193f977daf04414b1edd815ced83 (patch) | |
tree | 830538d15828aa76991332aae8aa3a894ffa1c5b /include | |
parent | 5e6d4834e6b35c6b0017fcdaf246c505dec10452 (diff) |
Assorted fixed to get nptl compiling on ARM
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 2729d306c..b2e0771fc 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -99,6 +99,12 @@ # define attribute_noreturn #endif +#define libc_freeres_ptr(decl) \ + __make_section_unallocated ("__libc_freeres_ptrs, \"aw\", %nobits") \ + decl __attribute__ ((section ("__libc_freeres_ptrs" __sec_comment))) +#define __libc_freeres_fn_section \ + __attribute__ ((section ("__libc_freeres_fn"))) + #ifndef NOT_IN_libc # define IS_IN_libc 1 #endif |