* m10300-opc.c: Support one operand "asr", "lsr" and "asl"
[deliverable/binutils-gdb.git] / include / oasys.h
index 642f7526a59901a3a8a7da49c6e771639c5e8a33..214095f4b53e3f27131019aee3f379c80024a841 100644 (file)
@@ -1,9 +1,9 @@
-
+#define OASYS_MAX_SEC_COUNT 16
 /* **** */
 
 
 typedef struct {
-  int32_type  version;
+  uint32_type  version;
   char create_date[12];
   char revision_date[12];
   uint32_type mod_count;
@@ -15,18 +15,45 @@ typedef struct {
   uint32_type xref_lst_offset;
 } oasys_archive_header_type;
 
+typedef struct {
+  char version[4];
+  char create_date[12];
+  char revision_date[12];
+  char mod_count[4];
+  char mod_tbl_offset[4];
+  char sym_tbl_size[4];
+  char sym_count[4];
+  char sym_tbl_offset[4];
+  char xref_count[4];
+  char xref_lst_offset[4];
+} oasys_external_archive_header_type;
+
 typedef struct {
   int32_type mod_number;
   char mod_date[12];
   int32_type mod_size;
   int32_type dep_count;
   int32_type depee_count;
-  int32_type sect_count;
   int32_type file_offset;
-  int32_type mod_name_length;
+  int32_type sect_count;
+  char *module_name;
+
 } oasys_module_table_type;
 
 
+typedef struct {
+  char mod_number[4];
+  char mod_date[12];
+  char mod_size[4];
+  char dep_count[4];
+  char depee_count[4];
+  char sect_count[4];
+  char file_offset[4];
+  char mod_name[32];
+} oasys_external_module_table_type;
+
+
+
 typedef enum {
   oasys_record_is_end_enum = 0,
   oasys_record_is_data_enum = 1,
@@ -104,7 +131,7 @@ typedef struct {
 } oasys_end_record_type;
 
 
-#define OASYS_MAX_SEC_COUNT 16
+
 typedef union
 {
   oasys_record_header_type header;
This page took 0.025762 seconds and 4 git commands to generate.