diff options
author | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:13:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:13:59 +0000 |
commit | dc9ba1091d19268798a9cd388c0842dfcf176758 (patch) | |
tree | 03ab0dbafae93b83360f8ce3fd13616301730981 /bfd/elf-bfd.h | |
parent | c57ad5a1b498e964f3dd2e2ed56353069b568988 (diff) | |
download | binutils-redhat-dc9ba1091d19268798a9cd388c0842dfcf176758.tar.gz |
* elf-bfd.h (struct sdt_note): New struct.
(struct elf_obj_tdata) <sdt_note_head>: New field.
* elf.c (elfobj_grok_stapsdt_note_1): New function.
(elfobj_grok_stapsdt_note): Likewise.
(elf_parse_notes): Added code to treat SystemTap note
sections.
* common.h (NT_STAPSDT): New define.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 844610d9f3..39c7de6cb7 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1476,6 +1476,15 @@ enum Tag_compatibility = 32 }; +/* The following struct stores information about every SystemTap section + found in the object file. */ +struct sdt_note +{ + struct sdt_note *next; + bfd_size_type size; + bfd_byte data[1]; +}; + /* Some private data is stashed away for future use using the tdata pointer in the bfd structure. */ @@ -1633,6 +1642,11 @@ struct elf_obj_tdata bfd_size_type build_id_size; bfd_byte *build_id; + /* Linked-list containing information about every Systemtap section + found in the object file. Each section corresponds to one entry + in the list. */ + struct sdt_note *sdt_note_head; + /* True if the bfd contains symbols that have the STT_GNU_IFUNC symbol type or STB_GNU_UNIQUE binding. Used to set the osabi field in the ELF header structure. */ |