aboutsummaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r--include/libc-symbols.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index 93b5f9d454..4d87b2d4dc 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -759,4 +759,11 @@ for linking")
/* Get some dirty hacks. */
#include <symbol-hacks.h>
+/* Move compatibility symbols out of the way by placing them all in a
+ special section. */
+#define attribute_compat_text_section \
+ __attribute__ ((section (".text.compat")))
+#define attribute_compat_data_section \
+ __attribute__ ((section (".data.compat")))
+
#endif /* libc-symbols.h */