aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index f6f1bc9..917c0e4 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -560,7 +560,7 @@ sec_to_styp_flags (const char *sec_name, flagword sec_flags)
/* skip LINK_DUPLICATES */
/* skip LINKER_CREATED */
- if (sec_flags & SEC_ALLOC)
+ if (sec_flags & (SEC_ALLOC | SEC_LOAD))
{
/* For now, the read/write bits are mapped onto SEC_READONLY, even
though the semantics don't quite match. The bits from the input