aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2001-12-18 00:32:32 +0000
committerTom Rix <trix@redhat.com>2001-12-18 00:32:32 +0000
commit67fdeebeb2246ec95449f9b1428ae000f7744e92 (patch)
treef90f1ca2cfaf396023e8d983caf1aa24ddd9f8ff /bfd
parent84b229ef245c6c5700d16fca9788a3613d3e6977 (diff)
downloadfsf-binutils-gdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.zip
fsf-binutils-gdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.tar.gz
fsf-binutils-gdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.tar.bz2
Minimal handle .typchk and .except section.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coffcode.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fe895c4..ca9acb8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-17 Tom Rix <trix@porter.hsv.redhat.com>
+
+ * coffcode.h (sec_to_styp_flags): Add STYP_EXCEPT and STYP_TYPCHK for
+ xcoff.
+
2001-12-17 Jakub Jelinek <jakub@redhat.com>
* elf-bfd.h (elf_discarded_section): Define.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index c2a2950..d759115 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -428,6 +428,14 @@ sec_to_styp_flags (sec_name, sec_flags)
{
styp_flags = STYP_LOADER;
}
+ else if (!strcmp (sec_name, _EXCEPT))
+ {
+ styp_flags = STYP_EXCEPT;
+ }
+ else if (!strcmp (sec_name, _TYPCHK))
+ {
+ styp_flags = STYP_TYPCHK;
+ }
#endif
/* Try and figure out what it should be */
else if (sec_flags & SEC_CODE)