aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1999-05-25 11:37:40 +0000
committerDJ Delorie <dj@redhat.com>1999-05-25 11:37:40 +0000
commit93dfcdf0615003799ac0a3d90c3fbb6443d9d615 (patch)
tree080fd0d174ddc7c95ab3966b781f24ab9b2fa00b
parente1b283bbb7a3ff7364c7100bf7ac975155d16121 (diff)
downloadgdb-93dfcdf0615003799ac0a3d90c3fbb6443d9d615.zip
gdb-93dfcdf0615003799ac0a3d90c3fbb6443d9d615.tar.gz
gdb-93dfcdf0615003799ac0a3d90c3fbb6443d9d615.tar.bz2
* 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.
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/peicode.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3a76843..9dcc885 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/peicode.h b/bfd/peicode.h
index f15e0ec..be47bca 100644
--- a/bfd/peicode.h
+++ b/bfd/peicode.h
@@ -567,6 +567,7 @@ coff_swap_sym_in (abfd, ext1, in1)
in->n_scnum = unused_section_number;
}
+ in->n_sclass = C_STAT;
#endif
}