aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-04-09 14:05:58 +0100
committerNick Clifton <nickc@redhat.com>2014-04-09 14:05:58 +0100
commit00c06fdc57ab89d14789b5207763410a79c39a11 (patch)
tree6993beb73531d9a66f63273c5b33d45dad4c90a6 /gas/read.c
parent15a9128a964499b78bd70ef3d2dc73edce56d825 (diff)
downloadbinutils-00c06fdc57ab89d14789b5207763410a79c39a11.zip
binutils-00c06fdc57ab89d14789b5207763410a79c39a11.tar.gz
binutils-00c06fdc57ab89d14789b5207763410a79c39a11.tar.bz2
Fix a few more targets affected by the change to the TC_CONS_FIX_NEW macro.
* config/tc-rl78.h (TC_CONS_FIX_NEW): Add RELOC parameter. * config/tc-z80.h (TC_CONS_FIX_NEW): Discard RELOC parameter. * config/tc-aarch64.h (TC_CONS_FIX_NEW): Discard RELOC parameter. * read.c (emit_expr_fix): Mark the r parameter as potentially unused.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 066783c..8e1b06e 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -4412,7 +4412,7 @@ emit_expr_with_reloc (expressionS *exp,
void
emit_expr_fix (expressionS *exp, unsigned int nbytes, fragS *frag, char *p,
- TC_PARSE_CONS_RETURN_TYPE r)
+ TC_PARSE_CONS_RETURN_TYPE r ATTRIBUTE_UNUSED)
{
int offset = 0;
unsigned int size = nbytes;