From 94f3c30dc2d8193f977daf04414b1edd815ced83 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 17 Feb 2010 14:28:38 -0800 Subject: Assorted fixed to get nptl compiling on ARM Signed-off-by: Khem Raj --- include/libc-symbols.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/libc-symbols.h') 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 -- cgit v1.2.3