elf: Remove any_debug from dl_main_state
[glibc.git] / include / elf.h
blob14ed67ff67d36349b12750c431478ce86c504ab0
1 #ifndef _ELF_H
2 #include <elf/elf.h>
4 #ifndef _ISOMAC
6 # include <libc-pointer-arith.h>
8 /* Compute the offset of the note descriptor from size of note entry's
9 owner string and note alignment. */
10 # define ELF_NOTE_DESC_OFFSET(namesz, align) \
11 ALIGN_UP (sizeof (ElfW(Nhdr)) + (namesz), (align))
13 /* Compute the offset of the next note entry from size of note entry's
14 owner string, size of the note descriptor and note alignment. */
15 # define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \
16 ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), (align))
18 /* Some information which is not meant for the public and therefore not
19 in <elf.h>. */
20 # include <dl-dtprocnum.h>
21 # ifdef DT_1_SUPPORTED_MASK
22 # error DT_1_SUPPORTED_MASK is defined!
23 # endif
24 # define DT_1_SUPPORTED_MASK \
25 (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \
26 | DF_1_ORIGIN | DF_1_NODEFLIB | DF_1_PIE)
28 #endif /* !_ISOMAC */
29 #endif /* elf.h */