This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove incorrect ATTRIBUTE_UNUSED


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]