From e41f12f3009992e9d81a530a8847affdf6e5e6fc Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 9 Feb 2004 18:04:26 +0000 Subject: [PATCH] * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as read-only. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9a41fb068b4..d6fbbe791cb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2004-02-09 Daniel Jacobowitz + + * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as + read-only. + 2004-02-09 Nathan Sidwell * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ... diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index aef76e7c0ce..5f79508e658 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); -- 2.30.2