diff options
author | Steve Chamberlain <sac@cygnus> | 1991-11-07 19:08:56 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1991-11-07 19:08:56 +0000 |
commit | 6255589afd5d8794799639d2444dc70222133fcf (patch) | |
tree | 84111367b1a958243fc0998fd0225aa180f28259 /include | |
parent | 85e0c721398e2b9c800ee48a709756798221e260 (diff) | |
download | gdb-6255589afd5d8794799639d2444dc70222133fcf.zip gdb-6255589afd5d8794799639d2444dc70222133fcf.tar.gz gdb-6255589afd5d8794799639d2444dc70222133fcf.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rwxr-xr-x | include/coff-m88k.h | 4 | ||||
-rwxr-xr-x | include/internalcoff.h | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index bed26f9..ec36bc8 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 7f46b28..9ed4deb 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 f93d644..879f20c 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 }; |