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.
This commit is contained in:
Nick Clifton 2014-06-16 17:37:46 +01:00
parent 7bc112c1b9
commit b97e87cc01
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-06-16 Nick Clifton <nickc@redhat.com>
* config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
2014-06-16 Jiong Wang <jiong.wang@arm.com>
* config/tc-aarch64.c (END_OF_INSN): New macro.

View File

@ -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"),