aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-10-23 17:46:44 +0000
committerTom Tromey <tromey@redhat.com>2012-10-23 17:46:44 +0000
commitc81a67683f3c7f225fffcedc834271ea8755e935 (patch)
treed061319ac25dad4b71dfddf5d3e852d0ab6b2a4d /include/elf
parenta94555ec0f78ebd0a5a315211e3d44f6b6e77df5 (diff)
downloadnewlib-c81a67683f3c7f225fffcedc834271ea8755e935.zip
newlib-c81a67683f3c7f225fffcedc834271ea8755e935.tar.gz
newlib-c81a67683f3c7f225fffcedc834271ea8755e935.tar.bz2
binutils
* readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE. (print_core_note): New function. (process_note): Call it. include/common/elf * common.h (NT_SIGINFO, NT_FILE): New defines.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index ece126a..c75e2ff 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-23 Tom Tromey <tromey@redhat.com>
+
+ * common.h (NT_SIGINFO, NT_FILE): New defines.
+
2012-08-27 Walter Lee <walt@tilera.com>
* tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
diff --git a/include/elf/common.h b/include/elf/common.h
index 1c681d5..be228cd 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -549,6 +549,8 @@
/* note name must be "LINUX". */
#define NT_ARM_VFP 0x400 /* ARM VFP registers */
/* note name must be "LINUX". */
+#define NT_SIGINFO 0x53494749 /* Fields of siginfo_t. */
+#define NT_FILE 0x46494c45 /* Description of mapped files. */
/* Note segments for core files on dir-style procfs systems. */