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
commit894bcb35bbd4b2077ad42512697e9302507f3b53 (patch)
treef6f47185dabe79d1bfceebab021eff86c1e65225 /bfd/section.c
parent0baf4bafb2621d0c90f414c6d38c656fffbf35f1 (diff)
downloadbinutils-redhat-894bcb35bbd4b2077ad42512697e9302507f3b53.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 d804dd614b..5a335a6290 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. *}