aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-01-17 00:20:30 +0000
committerAlan Modra <amodra@gmail.com>2012-01-17 00:20:30 +0000
commit032fbb7a3a73874fc41598bc1b4db3a3894db15f (patch)
tree9f66a4ca6d8850128d6cb982aba30dec494f3533 /gas
parent3499cebd0de34b9b718cce784a49d51965f7dbac (diff)
downloadgdb-032fbb7a3a73874fc41598bc1b4db3a3894db15f.zip
gdb-032fbb7a3a73874fc41598bc1b4db3a3894db15f.tar.gz
gdb-032fbb7a3a73874fc41598bc1b4db3a3894db15f.tar.bz2
* write.c (fix_new_internal): Don't mark used parameter as unused.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/write.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 12b849b..21097b7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-17 Andrew Burgess <aburgess@broadcom.com>
+
+ * write.c (fix_new_internal): Don't mark used parameter as unused.
+
2012-01-17 Alan Modra <amodra@gmail.com>
* as.c (parse_args): Update copyright message year.
diff --git a/gas/write.c b/gas/write.c
index a1e0205..5d4e073 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1,7 +1,7 @@
/* write.c - emit .o file
Copyright 1986, 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
- 2010, 2011 Free Software Foundation, Inc.
+ 2010, 2011, 2012 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -151,7 +151,7 @@ fix_new_internal (fragS *frag, /* Which frag? */
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;