summaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
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
commit5a094889ece50d5b9d1d9209a4f1bb3d9f74c70c (patch)
treead643b8c754a4cda5588c1d66520767ee52d57d0 /bfd/coffcode.h
parentba56bdb5f3228f9b458f6e7c10b34bbc2f708460 (diff)
downloadgdb-5a094889ece50d5b9d1d9209a4f1bb3d9f74c70c.tar.gz
Minimal handle .typchk and .except section.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index c2a2950a431..d759115be0a 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)