summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/libc-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/libc-symbols.h')
-rw-r--r--newlib/libc/sys/linux/libc-symbols.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/libc-symbols.h b/newlib/libc/sys/linux/libc-symbols.h
index 97b672643..f32260c95 100644
--- a/newlib/libc/sys/linux/libc-symbols.h
+++ b/newlib/libc/sys/linux/libc-symbols.h
@@ -349,4 +349,31 @@
strong_alias(real, name)
#endif
+#define libc_hidden_def(x)
+#define libc_hidden_weak(x)
+#define libc_hidden_proto(x)
+#define libc_hidden_data_def(x)
+#define libresolv_hidden_def(x)
+#define libresolv_hidden_weak(x)
+#define libresolv_hidden_data_def(x)
+#define libresolv_hidden_proto(x)
+#define static_link_warning(x)
+#define libc_freeres_ptr(x) x
+#define DL_CALL_FCT(x,y) x y
+#define attribute_hidden
+#define internal_function
+
+/* Move compatibility symbols out of the way by placing them all in a
+ special section. */
+#ifndef __ASSEMBLER__
+# define attribute_compat_text_section \
+ __attribute__ ((section (".text.compat")))
+# define attribute_compat_data_section \
+ __attribute__ ((section (".data.compat")))
+#else
+# define compat_text_section .section ".text.compat", "ax";
+# define compat_data_section .section ".data.compat", "aw";
+#endif
+
+
#endif /* libc-symbols.h */