diff options
author | Alan Modra <amodra@gmail.com> | 2007-08-25 13:20:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-08-25 13:20:41 +0000 |
commit | b15fa79e3ab3598d2a985fdc24d3fe68700b85a9 (patch) | |
tree | d35162173cb0c28bd6629572ce7c11bdf8152200 /include/elf/common.h | |
parent | 043b877a95014ccb8ee27733dc1ced0d25531ae4 (diff) | |
download | gdb-b15fa79e3ab3598d2a985fdc24d3fe68700b85a9.zip gdb-b15fa79e3ab3598d2a985fdc24d3fe68700b85a9.tar.gz gdb-b15fa79e3ab3598d2a985fdc24d3fe68700b85a9.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index bc9a5cf..5b71782 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. */ |