aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-01-25 23:24:22 +0000
committerIan Lance Taylor <ian@airs.com>1993-01-25 23:24:22 +0000
commit62aaa2e7095d58a31784a5ea01b04a07bcc853ce (patch)
tree2b42fb956f387971920457331f56dc21ff983bbb /include
parent804c13bdb1b714b7e2771e793d331dd0615de99f (diff)
downloadgdb-62aaa2e7095d58a31784a5ea01b04a07bcc853ce.zip
gdb-62aaa2e7095d58a31784a5ea01b04a07bcc853ce.tar.gz
gdb-62aaa2e7095d58a31784a5ea01b04a07bcc853ce.tar.bz2
Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com)
* internal.h (internal_aouthdr): Added additional fields used only by MIPS ECOFF.
Diffstat (limited to 'include')
-rw-r--r--include/coff/ChangeLog12
-rw-r--r--include/coff/internal.h10
2 files changed, 20 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index 4459de6..40dd3f8 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,5 +1,17 @@
+Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * internal.h (internal_aouthdr): Added additional fields used only
+ by MIPS ECOFF.
+
+Thu Jan 21 10:28:38 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * mips.h (AOUTHDR): Added additional fields used by ECOFF.
+
Tue Jan 19 12:21:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+ * i386.h, we32k.h (N_*, T_*, DT_*): Removed still more definitions
+ duplicated in internal.h.
+
* mips.h (RELOC_SECTION_*, ECOFF_R_*): Defined constants for ECOFF
relocs.
diff --git a/include/coff/internal.h b/include/coff/internal.h
index 10a39fe..b14223d 100644
--- a/include/coff/internal.h
+++ b/include/coff/internal.h
@@ -69,6 +69,12 @@ struct internal_aouthdr
short o_algndata; /* max alignment for data */
short o_modtype; /* Module type field, 1R,RE,RO */
unsigned long o_maxstack; /* max stack size allowed. */
+
+ /* MIPS ECOFF stuff */
+ unsigned long bss_start; /* Base of bss section. */
+ unsigned long gp_value; /* GP register value. */
+ unsigned long gprmask; /* General registers used. */
+ unsigned long cprmask[4]; /* Coprocessor registers used. */
};
/********************** STORAGE CLASSES **********************/
@@ -465,11 +471,11 @@ struct internal_reloc
/* Z8k modes */
-#define R_DA 0x01 /* 16 bit Absolute direct address */
+#define R_IMM16 0x01 /* 16 bit abs */
#define R_JR 0x02 /* jr 8 bit disp */
#define R_IMM4L 0x23 /* low nibble */
#define R_IMM8 0x22 /* 8 bit abs */
-#define R_IMM32 0x21 /* 32 bit abs */
+#define R_IMM32 R_RELLONG /* 32 bit abs */
#define R_CALL R_DA /* Absolute address which could be a callr */
#define R_JP R_DA /* Absolute address which could be a jp */
#define R_REL16 0x04 /* 16 bit PC rel */