aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog4
-rwxr-xr-xinclude/coff-m88k.h4
-rwxr-xr-xinclude/internalcoff.h4
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
};