diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-21 06:33:19 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-21 06:33:19 -0800 |
commit | 7e1be741255c40a2d71ea7c888eff39a3aaa32e9 (patch) | |
tree | c78a665d15bb6a1f22b63063f1f64545f351536d /include/elf.h | |
parent | 86fe56bbdece927de2b0c6f122493e97ad12937a (diff) | |
download | glibc-7e1be741255c40a2d71ea7c888eff39a3aaa32e9.tar glibc-7e1be741255c40a2d71ea7c888eff39a3aaa32e9.tar.gz glibc-7e1be741255c40a2d71ea7c888eff39a3aaa32e9.tar.bz2 glibc-7e1be741255c40a2d71ea7c888eff39a3aaa32e9.zip |
Check supported DF_1_XXX bits
Diffstat (limited to 'include/elf.h')
-rw-r--r-- | include/elf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h index cdedd8598e..60658c617c 100644 --- a/include/elf.h +++ b/include/elf.h @@ -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 |