aboutsummaryrefslogtreecommitdiff
path: root/ld/pdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/pdb.h')
-rw-r--r--ld/pdb.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/ld/pdb.h b/ld/pdb.h
index 1a80101..a446185 100644
--- a/ld/pdb.h
+++ b/ld/pdb.h
@@ -153,6 +153,39 @@ struct optional_dbg_header
uint16_t orig_section_header_stream;
};
+#define CV_SIGNATURE_C13 4
+
+/* SC in dbicommon.h */
+struct section_contribution
+{
+ uint16_t section;
+ uint16_t padding1;
+ uint32_t offset;
+ uint32_t size;
+ uint32_t characteristics;
+ uint16_t module_index;
+ uint16_t padding2;
+ uint32_t data_crc;
+ uint32_t reloc_crc;
+};
+
+/* MODI_60_Persist in dbi.h */
+struct module_info
+{
+ uint32_t unused1;
+ struct section_contribution sc;
+ uint16_t flags;
+ uint16_t module_sym_stream;
+ uint32_t sym_byte_size;
+ uint32_t c11_byte_size;
+ uint32_t c13_byte_size;
+ uint16_t source_file_count;
+ uint16_t padding;
+ uint32_t unused2;
+ uint32_t source_file_name_index;
+ uint32_t pdb_file_path_name_index;
+};
+
extern bool create_pdb_file (bfd *, const char *, const unsigned char *);
#endif