Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.
Nick Clifton
nickc@redhat.com
Mon Jun 16 16:37:00 GMT 2014
Hi Guys,
I am checking in the patch below to fix a small problem with the
aarch64 assembler, which was generating extra, unneeded error messages
when checking for illegal code.
Cheers
Nick
gas/ChangeLog
2014-06-16 Nick Clifton <nickc@redhat.com>
* config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 2509529..c7ace79 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"),
More information about the Binutils
mailing list