aboutsummaryrefslogtreecommitdiff
path: root/include/coff/internal.h
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/coff/internal.h
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/coff/internal.h')
-rw-r--r--include/coff/internal.h10
1 files changed, 8 insertions, 2 deletions
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 */