Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.

This commit is contained in:
Nick Clifton 2003-06-03 17:45:49 +00:00
parent 7579829884
commit a3b6428fe7
4 changed files with 17 additions and 0 deletions

View 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 '?';
}