aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1991-11-27 18:40:40 +0000
committerSteve Chamberlain <sac@cygnus>1991-11-27 18:40:40 +0000
commit1daf2df4ecd6f7b3aa44a7864e136874713d91a0 (patch)
tree8e9b178fb471cc425d50875510bd3ca1563d3e98
parentb4e42a642cc812e5688cf4181db693554933f08e (diff)
downloadfsf-binutils-gdb-1daf2df4ecd6f7b3aa44a7864e136874713d91a0.zip
fsf-binutils-gdb-1daf2df4ecd6f7b3aa44a7864e136874713d91a0.tar.gz
fsf-binutils-gdb-1daf2df4ecd6f7b3aa44a7864e136874713d91a0.tar.bz2
* internalcoff.h: (internal_scnhdr) took out #def dependency, now
s_nreloc and s_nlnno are always long. (internal_reloc): allways has an offset field now.
-rw-r--r--include/ChangeLog6
-rwxr-xr-xinclude/internalcoff.h15
2 files changed, 11 insertions, 10 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 8080bd0..0ee4bee 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+Wed Nov 27 10:38:31 1991 Steve Chamberlain (sac at rtl.cygnus.com)
+
+ * internalcoff.h: (internal_scnhdr) took out #def dependency, now
+ s_nreloc and s_nlnno are always long. (internal_reloc): allways
+ has an offset field now.
+
Fri Nov 22 08:12:58 1991 John Gilmore (gnu at cygnus.com)
* coff-rs6000.h: Lint; use unsigned chars for external fields.
diff --git a/include/internalcoff.h b/include/internalcoff.h
index d765166..26cd14c 100755
--- a/include/internalcoff.h
+++ b/include/internalcoff.h
@@ -146,13 +146,8 @@ struct internal_scnhdr {
long s_scnptr; /* file ptr to raw data for section */
long s_relptr; /* file ptr to relocation */
long s_lnnoptr; /* file ptr to line numbers */
-#ifdef M88
- unsigned long s_nreloc;
- unsigned long s_nlnno;
-#else
- unsigned short s_nreloc; /* number of relocation entries */
- unsigned short s_nlnno; /* number of line number entries*/
-#endif
+ unsigned long s_nreloc; /* number of relocation entries */
+ unsigned long s_nlnno; /* number of line number entries*/
long s_flags; /* flags */
#ifdef I960
long s_align;
@@ -397,7 +392,8 @@ union internal_auxent
/********************** RELOCATION DIRECTIVES **********************/
-struct internal_reloc {
+struct internal_reloc
+{
long r_vaddr; /* Virtual address of reference */
long r_symndx; /* Index into symbol table */
unsigned short r_type; /* Relocation type */
@@ -406,9 +402,8 @@ struct internal_reloc {
unsigned char r_size;
#endif
-#if M88
unsigned short r_offset;
-#endif
+
};
#define R_RELBYTE 017