aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-aarch64.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 08d2c26..31d343a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
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"),