* peicode.h (coff_swap_sym_in): When we create the actual section
authorDJ Delorie <dj@redhat.com>
Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)
to reflect the not-there section C_SECTION symbols refer to,
change the symbol class to C_STAT as the section is now really
there.

bfd/ChangeLog
bfd/peicode.h

index 3a76843..9dcc885 100644 (file)
@@ -1,3 +1,10 @@
+1999-05-25  DJ Delorie  <dj@cygnus.com>
+
+       * peicode.h (coff_swap_sym_in): When we create the actual section
+       to reflect the not-there section C_SECTION symbols refer to,
+       change the symbol class to C_STAT as the section is now really
+       there.
+
 1999-05-24  Philip Blundell  <pb@nexus.co.uk>
 
        * elf32-arm.h (elf32_arm_relocate_section): Undo change of
index f15e0ec..be47bca 100644 (file)
@@ -567,6 +567,7 @@ coff_swap_sym_in (abfd, ext1, in1)
 
          in->n_scnum = unused_section_number;
        }
+      in->n_sclass = C_STAT;
 #endif
     }