aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-09 18:04:26 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-09 18:04:26 +0000
commite41f12f3009992e9d81a530a8847affdf6e5e6fc (patch)
treef379dd63fc9bb048a3546d1f83731e31a0c77922 /gas/config
parent4c8e70d7336f856dd7a84eb38fa21812f3b6ea61 (diff)
downloadgdb-e41f12f3009992e9d81a530a8847affdf6e5e6fc.zip
gdb-e41f12f3009992e9d81a530a8847affdf6e5e6fc.tar.gz
gdb-e41f12f3009992e9d81a530a8847affdf6e5e6fc.tar.bz2
* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
read-only.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index aef76e7..5f79508 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -11809,6 +11809,9 @@ md_begin ()
bfd_set_section_flags (stdoutput, arm_arch,
SEC_DATA | SEC_ALLOC | SEC_LOAD | SEC_LINK_ONCE \
| SEC_HAS_CONTENTS);
+#else
+ bfd_set_section_flags (stdoutput, arm_arch,
+ SEC_READONLY | SEC_HAS_CONTENTS);
#endif
arm_arch->output_section = arm_arch;
subseg_set (arm_arch, 0);