aboutsummaryrefslogtreecommitdiff
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
commit67fdeebeb2246ec95449f9b1428ae000f7744e92 (patch)
treef90f1ca2cfaf396023e8d983caf1aa24ddd9f8ff /bfd/coffcode.h
parent84b229ef245c6c5700d16fca9788a3613d3e6977 (diff)
downloadgdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.zip
gdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.tar.gz
gdb-67fdeebeb2246ec95449f9b1428ae000f7744e92.tar.bz2
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 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)