summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2007-08-25 13:20:41 +0000
committerAlan Modra <amodra@bigpond.net.au>2007-08-25 13:20:41 +0000
commit899a63f54bfcabb42a6a3bdf1810f26cecdfa36a (patch)
tree78682f1bc95b2f0af45a209e0640321dde6657fd /include
parent5d1c63af5ced6ea3716da45cf0351dd7ce696054 (diff)
downloadgdb-899a63f54bfcabb42a6a3bdf1810f26cecdfa36a.tar.gz
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')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 0e07b03c743..c24893d169d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2007-08-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * common.h (NT_SPU): Define.
+
2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
* common.h: Revert last change.
diff --git a/include/elf/common.h b/include/elf/common.h
index bc9a5cf2edb..5b71782fd62 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. */