mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* internalcoff.h: (internal_scnhdr) took out #def dependency, now
s_nreloc and s_nlnno are always long. (internal_reloc): allways has an offset field now.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 27 10:38:31 1991 Steve Chamberlain (sac at rtl.cygnus.com)
|
||||||
|
|
||||||
|
* internalcoff.h: (internal_scnhdr) took out #def dependency, now
|
||||||
|
s_nreloc and s_nlnno are always long. (internal_reloc): allways
|
||||||
|
has an offset field now.
|
||||||
|
|
||||||
Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com)
|
Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com)
|
||||||
|
|
||||||
* coff-rs6000.h: Lint; use unsigned chars for external fields.
|
* coff-rs6000.h: Lint; use unsigned chars for external fields.
|
||||||
|
@ -146,13 +146,8 @@ struct internal_scnhdr {
|
|||||||
long s_scnptr; /* file ptr to raw data for section */
|
long s_scnptr; /* file ptr to raw data for section */
|
||||||
long s_relptr; /* file ptr to relocation */
|
long s_relptr; /* file ptr to relocation */
|
||||||
long s_lnnoptr; /* file ptr to line numbers */
|
long s_lnnoptr; /* file ptr to line numbers */
|
||||||
#ifdef M88
|
unsigned long s_nreloc; /* number of relocation entries */
|
||||||
unsigned long s_nreloc;
|
unsigned long s_nlnno; /* number of line number entries*/
|
||||||
unsigned long s_nlnno;
|
|
||||||
#else
|
|
||||||
unsigned short s_nreloc; /* number of relocation entries */
|
|
||||||
unsigned short s_nlnno; /* number of line number entries*/
|
|
||||||
#endif
|
|
||||||
long s_flags; /* flags */
|
long s_flags; /* flags */
|
||||||
#ifdef I960
|
#ifdef I960
|
||||||
long s_align;
|
long s_align;
|
||||||
@ -397,7 +392,8 @@ union internal_auxent
|
|||||||
|
|
||||||
/********************** RELOCATION DIRECTIVES **********************/
|
/********************** RELOCATION DIRECTIVES **********************/
|
||||||
|
|
||||||
struct internal_reloc {
|
struct internal_reloc
|
||||||
|
{
|
||||||
long r_vaddr; /* Virtual address of reference */
|
long r_vaddr; /* Virtual address of reference */
|
||||||
long r_symndx; /* Index into symbol table */
|
long r_symndx; /* Index into symbol table */
|
||||||
unsigned short r_type; /* Relocation type */
|
unsigned short r_type; /* Relocation type */
|
||||||
@ -406,9 +402,8 @@ struct internal_reloc {
|
|||||||
unsigned char r_size;
|
unsigned char r_size;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if M88
|
|
||||||
unsigned short r_offset;
|
unsigned short r_offset;
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define R_RELBYTE 017
|
#define R_RELBYTE 017
|
||||||
|
Reference in New Issue
Block a user