1 /* segment attributes. Included by segment.c only */
2 sitem( "READONLY",     0,              INIT_ATTR       )
3 sitem( "BYTE",         0,              INIT_ALIGN      )
4 sitem( "WORD",         1,              INIT_ALIGN      )
5 sitem( "DWORD",        2,              INIT_ALIGN      )
6 sitem( "PARA",         4,              INIT_ALIGN      )
7 sitem( "PAGE",         8,              INIT_ALIGN      )
8 #if PAGE4K
9 sitem( "PAGE4K",       12,             INIT_ALIGN      )
10 #endif
11 sitem( "ALIGN",        0,              INIT_ALIGN_PARAM )
12 sitem( "PRIVATE",      COMB_INVALID,   INIT_COMBINE    )
13 sitem( "PUBLIC",       COMB_ADDOFF,    INIT_COMBINE    )
14 sitem( "STACK",        COMB_STACK,     INIT_COMBINE    )
15 sitem( "COMMON",       COMB_COMMON,    INIT_COMBINE    )
16 sitem( "MEMORY",       COMB_ADDOFF,    INIT_COMBINE    )
17 sitem( "AT",           COMB_INVALID,   INIT_COMBINE_AT )
18 #if COMDATSUPP
19 sitem( "COMDAT",       COMB_INVALID,   INIT_COMBINE_COMDAT )
20 #endif
21 sitem( "USE16",        USE16,          INIT_OFSSIZE    )
22 sitem( "USE32",        USE32,          INIT_OFSSIZE    )
23 #if AMD64_SUPPORT
24 sitem( "USE64",        USE64,          INIT_OFSSIZE    )
25 #endif
26 sitem( "FLAT",         USE32,          INIT_OFSSIZE_FLAT )
27 #if COFF_SUPPORT || ELF_SUPPORT
28 sitem( "INFO",         0,                                    INIT_CHAR_INFO )
29 sitem( "DISCARD",      IMAGE_SCN_MEM_DISCARDABLE >> 24,      INIT_CHAR )
30 sitem( "NOCACHE",      IMAGE_SCN_MEM_NOT_CACHED  >> 24,      INIT_CHAR )
31 sitem( "NOPAGE",       IMAGE_SCN_MEM_NOT_PAGED   >> 24,      INIT_CHAR )
32 sitem( "SHARED",       IMAGE_SCN_MEM_SHARED      >> 24,      INIT_CHAR )
33 sitem( "EXECUTE",      IMAGE_SCN_MEM_EXECUTE     >> 24,      INIT_CHAR )
34 sitem( "READ",         IMAGE_SCN_MEM_READ        >> 24,      INIT_CHAR )
35 sitem( "WRITE",        IMAGE_SCN_MEM_WRITE       >> 24,      INIT_CHAR )
36 sitem( "ALIAS",        0,                                    INIT_ALIAS )
37 #endif
38