diff options
author | Alan Modra <modra@gmail.com> | 2007-08-26 03:00:13 +0400 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2007-08-26 03:00:13 +0400 |
commit | 932bfcc71ddf383df3495a3d3e2755f626fe038e (patch) | |
tree | 4a8ad2d78c4b671ec4920e070b99d60d7cd3f260 | |
parent | f538c05f2b4d03592158d64a9e85649e43b4970e (diff) |
include/elf/binutils-2_18
* common.h (NT_SPU): Define.
bfd/
* elf.c (elfcore_grok_spu_note): New function.
(elfcore_read_notes): Call it.
binutils/
* readelf.c (process_note): Recognize SPU core file notes.
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 8341638d2..93193c6ae 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-07-09 Roland McGrath <roland@redhat.com> * common.h (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. 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. */ |