This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]