aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-05-08 14:28:37 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-05-08 14:28:37 +0000
commite3029acb8b287680301aef65714de93ac9d71e12 (patch)
tree5ac118072767961b26dd88c1361f1c8c7b18d548 /include/elf/common.h
parent52d98c2de82f5867d53c34ee3a98d0c421f002ff (diff)
downloadgdb-e3029acb8b287680301aef65714de93ac9d71e12.zip
gdb-e3029acb8b287680301aef65714de93ac9d71e12.tar.gz
gdb-e3029acb8b287680301aef65714de93ac9d71e12.tar.bz2
* common.h (NT_GNU_ABI_TAG): Define.
(GNU_ABI_TAG_LINUX): Define. (GNU_ABI_TAG_HURD): Define. (GNU_ABI_TAG_SOLARIS): Define. (NT_NETBSD_IDENT): Define. (NT_FREEBSD_ABI_TAG): Define.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index d6e45fc..f8b0832 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -358,6 +358,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define NT_VERSION 1 /* Contains a version string. */
#define NT_ARCH 2 /* Contains an architecture string. */
+/* Values for GNU .note.ABI-tag notes. Note name is "GNU". */
+
+#define NT_GNU_ABI_TAG 1
+#define GNU_ABI_TAG_LINUX 0
+#define GNU_ABI_TAG_HURD 1
+#define GNU_ABI_TAG_SOLARIS 2
+
+/* Values for NetBSD .note.netbsd.ident notes. Note name is "NetBSD". */
+
+#define NT_NETBSD_IDENT 1
+
+/* Values for FreeBSD .note.ABI-tag notes. Note name is "FreeBSD". */
+
+#define NT_FREEBSD_ABI_TAG 1
+
/* These three macros disassemble and assemble a symbol table st_info field,
which contains the symbol binding and symbol type. The STB_ and STT_
defines identify the binding and type. */