aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-09 19:43:59 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-09 19:43:59 +0000
commitddcd40e6bf97e4e057403eb5a8ca7a206ab23f47 (patch)
treec7848e39428a4bb9807825b82d7dbd11a12745da /include/elf
parent94a6e2b680debd3be16ca979189f3ae3acf22142 (diff)
downloadnewlib-drow-cplus-branch.zip
newlib-drow-cplus-branch.tar.gz
newlib-drow-cplus-branch.tar.bz2
Merge drow-cplus-merge-20040208 to drow-cplus-branch.github/drow-cplus-branchdrow-cplus-branch
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog16
-rw-r--r--include/elf/common.h27
2 files changed, 42 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 9c7b588..ea008d6 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,19 @@
+2004-01-28 Roland McGrath <roland@redhat.com>
+
+ * common.h (AT_SECURE): New macro.
+
+2004-01-21 Roland McGrath <roland@redhat.com>
+
+ * common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
+ (AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
+ AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
+ AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
+ AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.
+
+2004-01-17 Mark Kettenis <kettenis@gnu.org>
+
+ * common.h (NT_OPENBSD_IDENT): Define.
+
2004-01-06 Alexandre Oliva <aoliva@redhat.com>
2003-09-18 Alexandre Oliva <aoliva@redhat.com>
diff --git a/include/elf/common.h b/include/elf/common.h
index 3c4fabe..bf233f6 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -404,6 +404,10 @@
#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
@@ -717,9 +721,30 @@
#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 */