diff options
Diffstat (limited to 'src/format/elf/elf_def.h')
-rw-r--r-- | src/format/elf/elf_def.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/src/format/elf/elf_def.h b/src/format/elf/elf_def.h index 91e1c18..f863257 100644 --- a/src/format/elf/elf_def.h +++ b/src/format/elf/elf_def.h @@ -408,10 +408,25 @@ typedef union _elf_shdr /* Valeurs possibles pour sh_flags */ -#define SHF_WRITE (1 << 0) /* Accessible en écriture */ -#define SHF_ALLOC (1 << 1) /* Copie en mémoire pdt l'exec.*/ -#define SHF_EXECINSTR (1 << 2) /* Section exécutable */ -#define SHF_STRINGS (1 << 5) /* Contient des chaînes ('\0') */ +#define SHF_WRITE (1 << 0) /* Accessible en écriture */ +#define SHF_ALLOC (1 << 1) /* Copie en mémoire pdt l'exec.*/ +#define SHF_EXECINSTR (1 << 2) /* Section exécutable */ +#define SHF_MERGE (1 << 4) /* Peut être fusionné */ +#define SHF_STRINGS (1 << 5) /* Contient des chaînes ('\0') */ +#define SHF_INFO_LINK (1 << 6) /* 'sh_info' contient un index */ +#define SHF_LINK_ORDER (1 << 7) /* Préservation de l'ordre */ +#define SHF_OS_NONCONFORMING (1 << 8) /* Gestion non standard requise*/ +#define SHF_GROUP (1 << 9) /* Section membre d'un groupe */ +#define SHF_TLS (1 << 10) /* Données pour un thread local*/ + +#define SHF_MASKOS 0x0ff00000 /* OS-specific. */ +#define SHF_MASKPROC 0xf0000000 /* Processor-specific */ +#define SHF_ORDERED (1 << 30) /* Special ordering requirement + (Solaris). */ +#define SHF_EXCLUDE (1 << 31) /* Section is excluded unless + referenced or allocated (Solaris).*/ + + |