public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Andrew Burgess" <aburgess@broadcom.com>
To: Binutils <binutils@sourceware.org>
Subject: [PATCH] Remove incorrect ATTRIBUTE_UNUSED
Date: Tue, 20 Dec 2011 14:31:00 -0000	[thread overview]
Message-ID: <4EF09C11.90000@broadcom.com> (raw)

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;

             reply	other threads:[~2011-12-20 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20 14:31 Andrew Burgess [this message]
2012-01-17  0:21 ` Alan Modra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EF09C11.90000@broadcom.com \
    --to=aburgess@broadcom.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).