diff options
author | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:45:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-06-03 17:45:49 +0000 |
commit | a3b6428fe79103e838aea22ef2acd6578178bf25 (patch) | |
tree | 4ae86ce1df347dd28ad4ea171c561d6520aca4f9 /bfd | |
parent | 7579829884ab4340f4b6980e10c3797d9ed30294 (diff) | |
download | gdb-a3b6428fe79103e838aea22ef2acd6578178bf25.zip gdb-a3b6428fe79103e838aea22ef2acd6578178bf25.tar.gz gdb-a3b6428fe79103e838aea22ef2acd6578178bf25.tar.bz2 |
Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/syms.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5c76004..cbd2b41 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 @@ -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 '?'; } |