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

@ -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

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

View File

@ -1,3 +1,8 @@
2003-06-03 Elias Athanasopoulos <elathan@phys.uoa.gr>
* NEWS: Document the new BSD/POSIX single-character mapping for
.comment/.note sections.
2003-06-02 Chris Demetriou <cgd@broadcom.com>
Jason Thorpe <thorpej@wasabisystems.com>

View File

@ -1,5 +1,9 @@
-*- text -*-
* BFD marks the sections .comment and .note as 'n' in the BSD/POSIX
single-character representation. This can be checked by running nm
with the -a switch.
* Added --info switch to objcopy and strip.
* Support for Vitesse IQ2000 added by Red Hat.