Define attribute_compat_text_section and attribute_compat_data_section.
authordrepper <drepper>
Wed, 10 Mar 2004 09:25:48 +0000 (09:25 +0000)
committerdrepper <drepper>
Wed, 10 Mar 2004 09:25:48 +0000 (09:25 +0000)
include/libc-symbols.h

index 93b5f9d..4d87b2d 100644 (file)
@@ -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 */