diff options
author | John Gilmore <gnu@cygnus> | 1991-07-21 13:09:10 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-07-21 13:09:10 +0000 |
commit | 50651e5e430ba2e46f3ffae0f259e10a0a506c5d (patch) | |
tree | 6be9d89844ede250a2e52fce9f99749af2935a4b /include/coff-mips.h | |
parent | ef98d5ac064fde1ac8467067fbc639b9d84dfd17 (diff) | |
download | gdb-50651e5e430ba2e46f3ffae0f259e10a0a506c5d.zip gdb-50651e5e430ba2e46f3ffae0f259e10a0a506c5d.tar.gz gdb-50651e5e430ba2e46f3ffae0f259e10a0a506c5d.tar.bz2 |
ieee.h, oasys.h: Add some struct and enum tags for debugging.
internalcoff.h: Comment changes.
ecoff.h: Add back in the relocation entries, deleted accidentally,
and the sizes of ordinary COFF symbol fields for internalcoff.h.
Diffstat (limited to 'include/coff-mips.h')
-rwxr-xr-x | include/coff-mips.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/coff-mips.h b/include/coff-mips.h index 6b6cd63..f6099b0 100755 --- a/include/coff-mips.h +++ b/include/coff-mips.h @@ -69,3 +69,26 @@ struct external_scnhdr { #define DEFAULT_TEXT_SECTION_ALIGNMENT 16 /* For new sections we havn't heard of before */ #define DEFAULT_SECTION_ALIGNMENT 4 + +/********************** RELOCATION DIRECTIVES **********************/ + +struct external_reloc { + char r_vaddr[4]; + char r_symndx[4]; + char r_type[2]; + char pad[2]; +}; + + +/* Relevent values for r_type and ecoff. Would someone please document them */ + +#define RELOC struct external_reloc +#define RELSZ 12 + +/* These definitions are not used in ecoff, but they make it possible + for ecoff to use the same "internalcoff.h" as other coff implementations. */ + +#define SYMNMLEN 8 /* # characters in a symbol name */ +#define FILNMLEN 14 /* # characters in a file name */ +#define DIMNUM 4 /* # array dimensions in auxiliary entry */ + |