Add (linker) support for CR16C processor
[deliverable/binutils-gdb.git] / include / elf / common.h
index f342d573710c7071000dae9f5c45c1dab92be689..8ebc2cf472428416b09a8a0d59fc5dbf70816c99 100644 (file)
 #define EM_ARC_A5       93     /* ARC Cores Tangent-A5 */
 #define EM_XTENSA       94     /* Tensilica Xtensa Architecture */
 #define EM_IP2K                101     /* Ubicom IP2022 micro controller */
+#define EM_CR          103     /* National Semiconductor CompactRISC */
 #define EM_MSP430      105     /* TI msp430 micro controller */
 
 /* If it is necessary to assign new unofficial EM_* values, please pick large
 #define PT_HIPROC      0x7FFFFFFF      /* Processor-specific */
 
 #define PT_GNU_EH_FRAME        (PT_LOOS + 0x474e550)
+#define PT_GNU_STACK   (PT_LOOS + 0x474e551)
 
 /* Program segment permissions, in program header p_flags field.  */
 
 #define GNU_ABI_TAG_LINUX      0
 #define GNU_ABI_TAG_HURD       1
 #define GNU_ABI_TAG_SOLARIS    2
+#define GNU_ABI_TAG_FREEBSD    3
+#define GNU_ABI_TAG_NETBSD     4
 
 /* Values for NetBSD .note.netbsd.ident notes.  Note name is "NetBSD".  */
 
 #define NT_NETBSD_IDENT                1
 
+/* Values for OpenBSD .note.openbsd.ident notes.  Note name is "OpenBSD".  */
+
+#define NT_OPENBSD_IDENT       1
+
 /* Values for FreeBSD .note.ABI-tag notes.  Note name is "FreeBSD".  */
 
 #define NT_FREEBSD_ABI_TAG     1
    values outside of the new range (see below).         */
 #define OLD_DT_LOOS    0x60000000
 #define DT_LOOS                0x6000000d
-#define DT_HIOS                0x6fff0000
+#define DT_HIOS                0x6ffff000
 #define OLD_DT_HIOS    0x6fffffff
 
 #define DT_LOPROC      0x70000000
 #define AT_ICACHEBSIZE 20              /* Instruction cache block size.  */
 #define AT_UCACHEBSIZE 21              /* Unified cache block size.  */
 #define AT_IGNOREPPC   22              /* Entry should be ignored */
+#define        AT_SECURE       23              /* Boolean, was exec setuid-like?  */
 /* Pointer to the global system page used for system calls and other
    nice things.  */
 #define AT_SYSINFO     32
-#define AT_SYSINFO_EHDR        33
+#define AT_SYSINFO_EHDR        33 /* Pointer to ELF header of system-supplied DSO.  */
+
+#define AT_SUN_UID      2000    /* Effective user ID.  */
+#define AT_SUN_RUID     2001    /* Real user ID.  */
+#define AT_SUN_GID      2002    /* Effective group ID.  */
+#define AT_SUN_RGID     2003    /* Real group ID.  */
+#define AT_SUN_LDELF    2004    /* Dynamic linker's ELF header.  */
+#define AT_SUN_LDSHDR   2005    /* Dynamic linker's section headers.  */
+#define AT_SUN_LDNAME   2006    /* String giving name of dynamic linker.  */
+#define AT_SUN_LPAGESZ  2007    /* Large pagesize.   */
+#define AT_SUN_PLATFORM 2008    /* Platform name string.  */
+#define AT_SUN_HWCAP    2009   /* Machine dependent hints about
+                                  processor capabilities.  */
+#define AT_SUN_IFLUSH   2010    /* Should flush icache? */
+#define AT_SUN_CPU      2011    /* CPU name string.  */
+#define AT_SUN_EMUL_ENTRY 2012 /* COFF entry point address.  */
+#define AT_SUN_EMUL_EXECFD 2013        /* COFF executable file descriptor.  */
+#define AT_SUN_EXECNAME 2014    /* Canonicalized file name given to execve.  */
+#define AT_SUN_MMU      2015    /* String for name of MMU module.   */
+#define AT_SUN_LDDATA   2016    /* Dynamic linker's data segment address.  */
+
 
 #endif /* _ELF_COMMON_H */
This page took 0.025873 seconds and 4 git commands to generate.