aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-ppc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9386fea..8f6b478 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 4f604a1..b79f214 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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;