mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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.
This commit is contained in:
@ -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.
|
||||
|
||||
|
@ -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 */
|
||||
|
Reference in New Issue
Block a user