PATCH: PR gas/11600: Support SHF_EXCLUDE

Alan Modra amodra@gmail.com
Tue May 25 00:57:00 GMT 2010


build fix.

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

Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.166
diff -u -p -r1.166 tc-ppc.c
--- gas/config/tc-ppc.c	18 May 2010 03:31:04 -0000	1.166
+++ gas/config/tc-ppc.c	25 May 2010 00:49:45 -0000
@@ -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;

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list