public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Remove incorrect ATTRIBUTE_UNUSED
@ 2011-12-20 14:31 Andrew Burgess
  2012-01-17  0:21 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Burgess @ 2011-12-20 14:31 UTC (permalink / raw)
  To: Binutils

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove incorrect ATTRIBUTE_UNUSED
  2011-12-20 14:31 [PATCH] Remove incorrect ATTRIBUTE_UNUSED Andrew Burgess
@ 2012-01-17  0:21 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2012-01-17  0:21 UTC (permalink / raw)
  To: Andrew Burgess; +Cc: Binutils

On Tue, Dec 20, 2011 at 02:30:41PM +0000, Andrew Burgess wrote:
> 	* write.c (fix_new_internal): Don't mark used parameter as unused.

Applied.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-17  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-20 14:31 [PATCH] Remove incorrect ATTRIBUTE_UNUSED Andrew Burgess
2012-01-17  0:21 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).