summaryrefslogtreecommitdiffstats
path: root/include/elf/common.h
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2007-08-25 13:20:40 +0000
committerAlan Modra <modra@gmail.com>2007-08-25 13:20:40 +0000
commit80bed8e0a40b0a42a4102abf0a38d1c49e38b7bb (patch)
treed9ff82a5f2d560900520147ec2d6db2bc0a317a5 /include/elf/common.h
parent309faeb5ca258d9b5a09c584d6cdd795e2e59784 (diff)
downloadcygnal-80bed8e0a40b0a42a4102abf0a38d1c49e38b7bb.tar.gz
cygnal-80bed8e0a40b0a42a4102abf0a38d1c49e38b7bb.tar.bz2
cygnal-80bed8e0a40b0a42a4102abf0a38d1c49e38b7bb.zip
include/elf/
* common.h (NT_SPU): Define. bfd/ * elf.c (elfcore_grok_spu_note): New function. (elf_parse_notes): Call it. binutils/ * readelf.c (process_note): Recognize SPU core file notes.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index bc9a5cf2e..5b71782fd 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -407,6 +407,10 @@
#define NT_NETBSDCORE_PROCINFO 1 /* Has a struct procinfo */
#define NT_NETBSDCORE_FIRSTMACH 32 /* start of machdep note types */
+/* Note segments for core files on SPU systems. Note name
+ must start with "SPU/". */
+
+#define NT_SPU 1
/* Values of note segment descriptor types for object files. */