aboutsummaryrefslogtreecommitdiff
path: root/include/elf
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
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')
-rw-r--r--include/elf/ChangeLog9
-rw-r--r--include/elf/common.h15
2 files changed, 24 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index c225793..fe3823b 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,12 @@
+2002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * 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.
+
2002-04-24 Elena Zannoni <ezannoni@redhat.com>
* dwarf2.h: Add DW_AT_GNU_vector.
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. */