public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.
@ 2014-06-16 16:37 Nick Clifton
  2014-06-17  1:50 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Clifton @ 2014-06-16 16:37 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Commit: AArch64: Do not generate extra complaints for unused relocs in fixups.
  2014-06-16 16:37 Commit: AArch64: Do not generate extra complaints for unused relocs in fixups Nick Clifton
@ 2014-06-17  1:50 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2014-06-17  1:50 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

On Mon, Jun 16, 2014 at 05:37:36PM +0100, Nick Clifton wrote:
> 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.

Thanks for cleaning up after me.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-17  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-16 16:37 Commit: AArch64: Do not generate extra complaints for unused relocs in fixups Nick Clifton
2014-06-17  1:50 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).