* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
authorDaniel Jacobowitz <drow@false.org>
Mon, 9 Feb 2004 18:04:26 +0000 (18:04 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 9 Feb 2004 18:04:26 +0000 (18:04 +0000)
read-only.

gas/ChangeLog
gas/config/tc-arm.c

index 9a41fb068b4a069d2a21b66ace9f75f3e06daf85..d6fbbe791cb9b847e87ee8736dc14a4cfe467dc1 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
+       read-only.
+
 2004-02-09  Nathan Sidwell  <nathan@codesourcery.com>
 
        * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
index aef76e7c0cecda6f38cf2c2d43752f96528b6052..5f79508e658c7c4e88410ddc0a438c5740812477 100644 (file)
@@ -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);