aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-07-09 21:17:42 +0000
committerRoland McGrath <roland@gnu.org>2007-07-09 21:17:42 +0000
commit1d81b01501aec99e26db96cbe22bf652c10cf7ed (patch)
tree2f71452e2cdf2fef696940e7e0f4833ac3a00821 /include/elf/common.h
parent0c24b341d26502e72111a6a14a4f372b25b28a4a (diff)
downloadgdb-1d81b01501aec99e26db96cbe22bf652c10cf7ed.zip
gdb-1d81b01501aec99e26db96cbe22bf652c10cf7ed.tar.gz
gdb-1d81b01501aec99e26db96cbe22bf652c10cf7ed.tar.bz2
2007-07-09 Roland McGrath <roland@redhat.com>
* common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 2eb6853..bc9a5cf 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -187,7 +187,7 @@
#define EM_ALTERA_NIOS2 113 /* Altera Nios II soft-core processor */
#define EM_CRX 114 /* National Semiconductor CRX */
#define EM_CR16 115 /* National Semiconductor CompactRISC - CR16 */
-#define EM_SCORE 135 /* Sunplus Score */
+#define EM_SCORE 135 /* Sunplus Score */
/* If it is necessary to assign new unofficial EM_* values, please pick large
random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
@@ -413,9 +413,13 @@
#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". */
+/* Values for notes in non-core files using name "GNU". */
#define NT_GNU_ABI_TAG 1
+#define NT_GNU_HWCAP 2 /* Used by ld.so and kernel vDSO. */
+#define NT_GNU_BUILD_ID 3 /* Generated by ld --build-id. */
+
+/* Values used in GNU .note.ABI-tag notes (NT_GNU_ABI_TAG). */
#define GNU_ABI_TAG_LINUX 0
#define GNU_ABI_TAG_HURD 1
#define GNU_ABI_TAG_SOLARIS 2