Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jason R Thorpe <thorpej@wasabisystems.com>
To: binutils@sources.redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: [PATCH/RFA] Define various OS/ABI note types
Date: Tue, 07 May 2002 13:18:00 -0000	[thread overview]
Message-ID: <20020507131833.M503@dr-evil.shagadelic.org> (raw)

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

             reply	other threads:[~2002-05-07 20:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07 13:18 Jason R Thorpe [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020507131833.M503@dr-evil.shagadelic.org \
    --to=thorpej@wasabisystems.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox