summaryrefslogtreecommitdiff
path: root/output/outelf.h
diff options
context:
space:
mode:
Diffstat (limited to 'output/outelf.h')
-rw-r--r--output/outelf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/output/outelf.h b/output/outelf.h
index b47f3177..8ab76b0d 100644
--- a/output/outelf.h
+++ b/output/outelf.h
@@ -80,6 +80,15 @@ extern const struct elf_known_section elf_known_sections[];
#define sec_stabstr (nsections-2)
#define sec_rel_stab (nsections-1)
+/* stabs symbol table format */
+struct stabentry {
+ uint32_t n_strx;
+ uint8_t n_type;
+ uint8_t n_other;
+ uint16_t n_desc;
+ uint32_t n_value;
+};
+
/* dwarf */
#define sec_debug_aranges (nsections-10)
#define sec_rela_debug_aranges (nsections-9)