From: Alan Modra Date: Tue, 25 May 2010 00:51:49 +0000 (+0000) Subject: * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1239de13cf7b1575412a83377cdf580067cef402;p=binutils-gdb.git * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr". --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 9386fea55c3..8f6b478b9c9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-05-25 Alan Modra + + * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr". + 2010-05-19 Nick Clifton * 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 4f604a1bae6..b79f2149204 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;