Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH/RFA] Define various OS/ABI note types
@ 2002-05-07 13:18 Jason R Thorpe
  2002-05-07 15:28 ` David O'Brien
  0 siblings, 1 reply; 10+ messages in thread
From: Jason R Thorpe @ 2002-05-07 13:18 UTC (permalink / raw)
  To: binutils; +Cc: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

The following patch to include/elf/common.h defines the note types used by
GNU and NetBSD ABI identification notes.  These are needed by GDB.

OK to commit?

	* 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.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

[-- Attachment #2: elf-common-patch --]
[-- Type: text/plain, Size: 895 bytes --]

Index: common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.41
diff -u -r1.41 common.h
--- common.h	31 Jan 2002 17:33:02 -0000	1.41
+++ common.h	7 May 2002 20:15:19 -0000
@@ -358,6 +358,17 @@
 #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
+
 /* 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.  */

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-05-08 18:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07 13:18 [PATCH/RFA] Define various OS/ABI note types Jason R Thorpe
2002-05-07 15:28 ` David O'Brien
2002-05-07 15:58   ` Jason R Thorpe
2002-05-07 16:12     ` David O'Brien
2002-05-07 16:30       ` Jason R Thorpe
2002-05-07 16:57         ` David O'Brien
2002-05-07 22:33   ` Jason R Thorpe
2002-05-08  3:21     ` Nick Clifton
2002-05-08 11:23     ` David O'Brien
2002-05-08 11:40       ` Jason R Thorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox