aboutsummaryrefslogtreecommitdiff
path: root/include/elf-internal.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-12 03:06:05 +0000
committerFred Fish <fnf@specifix.com>1991-11-12 03:06:05 +0000
commitd6fee2389787a709737b22c628a1d15db01d76f8 (patch)
tree10344802ff1098713f2841e6fda6e133ff1b2765 /include/elf-internal.h
parent1c9e4b1512b328f36891df48123dccb95fbfd23d (diff)
downloadgdb-d6fee2389787a709737b22c628a1d15db01d76f8.zip
gdb-d6fee2389787a709737b22c628a1d15db01d76f8.tar.gz
gdb-d6fee2389787a709737b22c628a1d15db01d76f8.tar.bz2
Add support for ELF note sections, which are used in ELF core files to
hold copies of various /proc structures at the time of the core dump.
Diffstat (limited to 'include/elf-internal.h')
-rwxr-xr-xinclude/elf-internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/elf-internal.h b/include/elf-internal.h
index bf51339..4019373 100755
--- a/include/elf-internal.h
+++ b/include/elf-internal.h
@@ -96,3 +96,12 @@ typedef struct {
Elf_Char st_other; /* No defined meaning, 0 */
Elf_Half st_shndx; /* Associated section index */
} Elf_Internal_Sym;
+
+/* Note segments */
+
+typedef struct {
+ Elf_Word namesz; /* Size of entry's owner string */
+ Elf_Word descsz; /* Size of the note descriptor */
+ Elf_Word type; /* Interpretation of the descriptor */
+ char name[1]; /* Start of the name+desc data */
+} Elf_Internal_Note;