From: Nick Clifton Date: Mon, 16 Jun 2014 16:37:46 +0000 (+0100) Subject: Fixes a problem exposed by the aarcg64/illegal.s test case - where the assembler was X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b97e87cc01703e2e612b1fc21c54f90b1a0f4519;p=binutils-gdb.git Fixes a problem exposed by the aarcg64/illegal.s test case - where the assembler was generating too many error messages. * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 08d2c265337..31d343acdeb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2014-06-16 Nick Clifton + + * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs. + 2014-06-16 Jiong Wang * config/tc-aarch64.c (END_OF_INSN): New macro. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 2509529e0a7..c7ace79f1d1 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -6665,6 +6665,10 @@ md_apply_fix (fixS * fixP, valueT * valP, segT seg) case BFD_RELOC_AARCH64_TLSDESC_CALL: break; + case BFD_RELOC_UNUSED: + /* An error will already have been reported. */ + break; + default: as_bad_where (fixP->fx_file, fixP->fx_line, _("unexpected %s fixup"),