]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - include/elf.h
Check supported DF_1_XXX bits
[thirdparty/glibc.git] / include / elf.h
index cdedd8598e8326cfba5f840302ac01f3a9fa254f..60658c617cc262fc21622ccbfd590cc2f743a922 100644 (file)
@@ -3,4 +3,10 @@
 /* Some information which is not meant for the public and therefore not
    in <elf.h>.  */
 # include <dl-dtprocnum.h>
+# ifdef DT_1_SUPPORTED_MASK
+#  error DT_1_SUPPORTED_MASK is defined!
+# endif
+# define DT_1_SUPPORTED_MASK \
+   (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \
+    | DF_1_ORIGIN | DF_1_NODEFLIB)
 #endif