From 6255589afd5d8794799639d2444dc70222133fcf Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Thu, 7 Nov 1991 19:08:56 +0000 Subject: [PATCH] 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 --- include/ChangeLog | 4 ++++ include/coff-m88k.h | 4 ++++ include/internalcoff.h | 4 ---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index bed26f9e89b..ec36bc879d1 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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) diff --git a/include/coff-m88k.h b/include/coff-m88k.h index 7f46b2897d0..9ed4deb6649 100755 --- a/include/coff-m88k.h +++ b/include/coff-m88k.h @@ -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 diff --git a/include/internalcoff.h b/include/internalcoff.h index f93d6449267..879f20c5229 100755 --- a/include/internalcoff.h +++ b/include/internalcoff.h @@ -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 }; -- 2.30.2