* inf-ptrace.c (inf_ptrace_prepare_to_store)
[deliverable/binutils-gdb.git] / binutils / coffgrok.c
index a6145c95a545c1f96c73d9459150af54738a263c..abeb33df0eea5b79da956c5c3bbbd15090839c12 100644 (file)
@@ -1,5 +1,5 @@
 /* coffgrok.c
-   Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003
+   Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004
    Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
@@ -156,7 +156,7 @@ do_sections_p1 (struct coff_ofile *head)
       if (strcmp (section->name, ".bss") == 0)
        head->sections[i].data = 1;
       head->sections[i].address = section->lma;
-      head->sections[i].size = section->_raw_size;
+      head->sections[i].size = bfd_get_section_size (section);
       head->sections[i].number = idx;
       head->sections[i].nrelocs = section->reloc_count;
       head->sections[i].relocs =
@@ -370,7 +370,7 @@ do_type (int i)
        {
          if (aux->x_sym.x_tagndx.p)
            {
-             /* Refering to a struct defined elsewhere */
+             /* Referring to a struct defined elsewhere */
              res->type = coff_structref_type;
              res->u.astructref.ref = tindex[INDEXOF (aux->x_sym.x_tagndx.p)];
              res->size = res->u.astructref.ref ?
@@ -389,7 +389,7 @@ do_type (int i)
        }
       else
        {
-         /* No auxents - it's anonynmous */
+         /* No auxents - it's anonymous */
          res->type = coff_structref_type;
          res->u.astructref.ref = 0;
          res->size = 0;
@@ -398,7 +398,7 @@ do_type (int i)
     case T_ENUM:
       if (aux->x_sym.x_tagndx.p)
        {
-         /* Refering to a enum defined elsewhere */
+         /* Referring to a enum defined elsewhere */
          res->type = coff_enumref_type;
          res->u.aenumref.ref = tindex[INDEXOF (aux->x_sym.x_tagndx.p)];
          res->size = res->u.aenumref.ref->type->size;
This page took 0.023448 seconds and 4 git commands to generate.