From: Ian Lance Taylor Date: Mon, 25 Jan 1993 23:24:22 +0000 (+0000) Subject: Mon Jan 25 11:35:51 1993 Ian Lance Taylor (ian@cygnus.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62aaa2e7095d58a31784a5ea01b04a07bcc853ce;p=binutils-gdb.git 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. --- diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 4459de6f4ee..40dd3f86f52 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 10a39fe16a3..b14223d4095 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 */