From 7e1be741255c40a2d71ea7c888eff39a3aaa32e9 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 21 Nov 2012 06:33:19 -0800 Subject: Check supported DF_1_XXX bits --- include/elf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 . */ # include +# 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 -- cgit 1.4.1