[PATCH] Remove incorrect ATTRIBUTE_UNUSED

Andrew Burgess aburgess@broadcom.com
Tue Dec 20 14:31:00 GMT 2011


Very trivial patch, removes an incorrect ATTRIBUTE_UNUSED.

I don't have commit access, so if someone wants to approve & apply it please do so.

Thanks,
Andrew


gas/ChangeLog

2011-12-20  Andrew Burgess  <aburgess@broadcom.com>

	* write.c (fix_new_internal): Don't mark used parameter as unused.


diff -u -p -r1.146 write.c
--- gas/write.c 15 Nov 2011 13:08:17 -0000      1.146
+++ gas/write.c 20 Dec 2011 14:28:39 -0000
@@ -151,7 +151,7 @@ fix_new_internal (fragS *frag,              /* Which
                  symbolS *sub_symbol,  /* X_op_symbol.  */
                  offsetT offset,       /* X_add_number.  */
                  int pcrel,            /* TRUE if PC-relative relocation.  */
-                 RELOC_ENUM r_type ATTRIBUTE_UNUSED /* Relocation type.  */,
+                 RELOC_ENUM r_type     /* Relocation type.  */,
                  int at_beginning)     /* Add to the start of the list?  */
 {
   fixS *fixP;



More information about the Binutils mailing list