aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2005-06-09 19:22:15 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2005-06-09 19:22:15 +0000
commit2ae0844c54c3f0b7057547a5b41b2399be5683ba (patch)
tree2f8386fddda236a89cd480b5894f61ece50b9208 /bfd/coffcode.h
parent502bdb00ee094e41445a0d3458a2848f8adcca57 (diff)
downloadgdb-2ae0844c54c3f0b7057547a5b41b2399be5683ba.zip
gdb-2ae0844c54c3f0b7057547a5b41b2399be5683ba.tar.gz
gdb-2ae0844c54c3f0b7057547a5b41b2399be5683ba.tar.bz2
* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
SEC_ALLOC OR SEC_LOAD.
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