This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFA] Add NT_OPENBSD_IDENT
- From: Mark Kettenis <kettenis at chello dot nl>
- To: binutils at sources dot redhat dot com
- Date: Sun, 18 Jan 2004 21:17:00 +0100 (CET)
- Subject: [PATCH/RFA] Add NT_OPENBSD_IDENT
This adds the NT_OPENBSD_IDENT, used in OpenBSD .note.openbsd.ident
notes that brand OpenBSD ELF binaries. This is needed for in upcoming
OpenBSD ELF support in GDB.
OK to check this in?
Mark
Index: include/elf/ChangeLog
===================================================================
RCS file: /cvs/src/src/include/elf/ChangeLog,v
retrieving revision 1.197
diff -u -p -r1.197 ChangeLog
--- include/elf/ChangeLog 6 Jan 2004 19:18:30 -0000 1.197
+++ include/elf/ChangeLog 18 Jan 2004 20:14:01 -0000
@@ -1,3 +1,7 @@
+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>
Index: include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.61
diff -u -p -r1.61 common.h
--- include/elf/common.h 6 Dec 2003 05:32:21 -0000 1.61
+++ include/elf/common.h 18 Jan 2004 20:14:01 -0000
@@ -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