The following enum had both __x86 and __i386 macro. This is in file _libld.h 
file.
What is the difference in __x86 and __i386 macro ?

/*
* Types of segment index.
*/
typedef enum {
        LD_PHDR,        LD_INTERP,      LD_SUNWCAP,     LD_TEXT,
        LD_DATA,        LD_BSS,
#if     (defined(__i386) || defined(__amd64)) && defined(_ELF64)
        LD_LRODATA,     LD_LDATA,
#endif
        LD_DYN,         LD_DTRACE,       LD_NOTE,       LD_SUNWBSS,
        LD_TLS,
#if defined(__x86) && defined(_ELF64)
        LD_UNWIND,
#endif
        LD_EXTRA,
        LD_NUM
} Segment_ndx;
 
 
This message posted from opensolaris.org

Reply via email to