aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-06-16 17:37:46 +0100
committerNick Clifton <nickc@redhat.com>2014-06-16 17:40:02 +0100
commitb97e87cc01703e2e612b1fc21c54f90b1a0f4519 (patch)
tree0be8537d7e64d25e8b57f27e04bd1124bef105a5 /gas
parent7bc112c1b9bc6e6346e2afff9174fe4adbce909f (diff)
downloadgdb-b97e87cc01703e2e612b1fc21c54f90b1a0f4519.zip
gdb-b97e87cc01703e2e612b1fc21c54f90b1a0f4519.tar.gz
gdb-b97e87cc01703e2e612b1fc21c54f90b1a0f4519.tar.bz2
Fixes a problem exposed by the aarcg64/illegal.s test case - where the assembler was
generating too many error messages. * config/tc-aarch64.c (md_apply_fix): Ignore unused relocs.
Diffstat (limited to 'gas')
-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"),