This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 16 Jun 2014 17:37:36 +0100
- Subject: Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.
- Authentication-results: sourceware.org; auth=none
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"),