aboutsummaryrefslogtreecommitdiff
path: root/include/coff-m88k.h
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-07 19:08:56 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-07 19:08:56 +0000
commit6255589afd5d8794799639d2444dc70222133fcf (patch)
tree84111367b1a958243fc0998fd0225aa180f28259 /include/coff-m88k.h
parent85e0c721398e2b9c800ee48a709756798221e260 (diff)
downloadgdb-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/coff-m88k.h')
-rwxr-xr-xinclude/coff-m88k.h4
1 files changed, 4 insertions, 0 deletions
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