From 032fbb7a3a73874fc41598bc1b4db3a3894db15f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 17 Jan 2012 00:20:30 +0000 Subject: [PATCH] * write.c (fix_new_internal): Don't mark used parameter as unused. --- gas/ChangeLog | 4 ++++ gas/write.c | 4 ++-- 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 + + * write.c (fix_new_internal): Don't mark used parameter as unused. + 2012-01-17 Alan Modra * 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; -- 2.7.4