* gdb-stabs.h (SECT_OFF_MAX): Increase to 64.
[deliverable/binutils-gdb.git] / gdb / somread.c
index 92d54921621b79026fdc2839217063ff8b712c30..fb804a3b45cd88a5df5015e47ee7401b52e43bd4 100644 (file)
@@ -115,7 +115,7 @@ som_symtab_read (bfd *abfd, struct objfile *objfile,
 
      There's nothing in the header which easily allows us to do
      this.  The only reliable way I know of is to check for the
-     existance of a $SHLIB_INFO$ section with a non-zero size.  */
+     existence of a $SHLIB_INFO$ section with a non-zero size.  */
   /* The code below is not a reliable way to check whether an
    * executable is dynamic, so I commented it out - RT
    * shlib_info = bfd_get_section_by_name (objfile->obfd, "$SHLIB_INFO$");
@@ -477,7 +477,7 @@ som_symfile_offsets (struct objfile *objfile, struct section_addr_info *addrs)
       text_addr = addrs->other[i].addr;
 
       for (i = 0; i < SECT_OFF_MAX; i++)
-       ANOFFSET (objfile->section_offsets, i) = text_addr;
+       (objfile->section_offsets)->offsets[i] = text_addr;
     }
 }
 
This page took 0.024126 seconds and 4 git commands to generate.