summaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2009-03-19 11:02:09 +0000
committerKai Tietz <kai.tietz@onevision.com>2009-03-19 11:02:09 +0000
commit156621f3447ad88981645265931ab2e75aebce9f (patch)
treeaa8bbda1cb75c5c8e8e90d5b9110607b149682ed /bfd/section.c
parentb7cac25fd188a2a904bfa4d79c4b20a86019917d (diff)
downloadbinutils-gdb-156621f3447ad88981645265931ab2e75aebce9f.tar.gz
2009-03-19 Kai Tietz <kai.tietz@onevision.com>
* bfd-in2.h: Regenerated. * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY for debugging sections and map memory read/write dependent on SEC_COFF_NOREAD. (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections without memory read flags set. * section.c: Add SEC_COFF_NOREAD to section flags.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/section.c b/bfd/section.c
index d804dd614b7..5a335a62909 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -343,6 +343,10 @@ CODE_FRAGMENT
. TMS320C54X only. *}
.#define SEC_TIC54X_CLINK 0x20000000
.
+. {* Indicate that section has the no read flag set. This happens
+. when memory read flag isn't set. *}
+.#define SEC_COFF_NOREAD 0x40000000
+.
. {* End of section flags. *}
.
. {* Some internal packed boolean fields. *}