summaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 4615a6aa5..2800fe25c 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