diff options
author | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:45:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:45:48 +0000 |
commit | 107bcfe916927f8df16eecac2b8f46a36cfd545a (patch) | |
tree | 65f36b18fd6b9bedead185534e757ffd772b7b46 /bfd/syms.c | |
parent | c9f6031abe972a642173715acf282f745e445edb (diff) | |
download | gdb-107bcfe916927f8df16eecac2b8f46a36cfd545a.tar.gz |
Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c index d65a8689ca7..0fcb7b36623 100644 --- a/bfd/syms.c +++ b/bfd/syms.c @@ -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 '?'; } |