Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)

* internalcoff.h: took out the M88 dependency in the lineno
	struct.
	* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
	32bit linno entries.
	* a29k-opcode.h: fixed encoding of mtacc
This commit is contained in:
Steve Chamberlain 1991-11-07 19:08:56 +00:00
parent 85e0c72139
commit 6255589afd
3 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,9 @@
Thu Nov 7 08:58:26 1991 Steve Chamberlain (sac at cygnus.com)
* internalcoff.h: took out the M88 dependency in the lineno
struct.
* coff-m88k.h: defines GET_LINENO_LNNO and PUT_LINENO_LNNO to use
32bit linno entries.
* a29k-opcode.h: fixed encoding of mtacc
Sun Nov 3 11:54:22 1991 Per Bothner (bothner at cygnus.com)

View File

@ -223,6 +223,10 @@ union external_auxent {
#define PUT_SCN_SCNLEN(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *) ext->x_scn.x_scnlen)
#define PUT_SCN_NRELOC(abfd,in, ext) bfd_h_put_32(abfd, in, (bfd_byte *)ext->x_scn.x_nreloc)
#define PUT_SCN_NLINNO(abfd,in, ext) bfd_h_put_32(abfd,in, (bfd_byte *) ext->x_scn.x_nlinno)
#define GET_LINENO_LNNO(abfd, ext) bfd_h_get_32(abfd, (bfd_byte *) (ext->l_lnno))
#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_32(abfd,val, (bfd_byte *) (ext->l_lnno));
#define SYMENT struct external_syment
#define SYMESZ 20

View File

@ -186,11 +186,7 @@ struct internal_lineno {
long l_symndx; /* function name symbol index, iff l_lnno == 0*/
long l_paddr; /* (physical) address of line number */
} l_addr;
#ifdef M88
unsigned long l_lnno; /* line number */
#else
unsigned short l_lnno; /* line number */
#endif
};