* config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".

This commit is contained in:
Alan Modra 2010-05-25 00:51:49 +00:00
parent f0e2c7920d
commit 1239de13cf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-05-25 Alan Modra <amodra@gmail.com>
* config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
2010-05-19 Nick Clifton <nickc@redhat.com>
* config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list

View File

@ -3101,7 +3101,7 @@ ppc_section_type (char *str, size_t len)
}
int
ppc_section_flags (flagword flags, bfd_vma attr, int type)
ppc_section_flags (flagword flags, bfd_vma attr ATTRIBUTE_UNUSED, int type)
{
if (type == SHT_ORDERED)
flags |= SEC_ALLOC | SEC_LOAD | SEC_SORT_ENTRIES;