OSDN Git Service

Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.
authorNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2003 17:45:48 +0000 (17:45 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2003 17:45:48 +0000 (17:45 +0000)
bfd/ChangeLog
bfd/syms.c

index 5c76004..cbd2b41 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-03  Elias Athanasopoulos  <elathan@phys.uoa.gr>
+
+       * syms.c (decode_section_type): Return 'n' if section flags are
+       SEC_HAS_CONTENTS && SEC_READONLY.
+
 2003-06-03  Nick Clifton  <nickc@redhat.com>
 
        * elf32-v850.c (v850_elf_howto_t): Rename R_V850_32to
index d65a868..0fcb7b3 100644 (file)
@@ -619,6 +619,9 @@ decode_section_type (section)
     }
   if (section->flags & SEC_DEBUGGING)
     return 'N';
+  if ((section->flags & SEC_HAS_CONTENTS) &&
+      (section->flags & SEC_READONLY))
+    return 'n';
 
   return '?';
 }