diff options
author | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:14:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-04-15 11:14:01 +0000 |
commit | e21e5835b606f4ef1eb42e99bf26a3e43cdf034a (patch) | |
tree | 484348d53366660bc3f14ee1e263d9e06ba47feb /bfd/elf-bfd.h | |
parent | 9c68f58e48030d125e085999b3778c22534e7bed (diff) | |
download | gdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.zip gdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.tar.gz gdb-e21e5835b606f4ef1eb42e99bf26a3e43cdf034a.tar.bz2 |
* 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 844610d..39c7de6 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. */ |