diff options
author | Nick Clifton <nickc@redhat.com> | 2014-06-16 17:37:46 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-06-16 17:40:02 +0100 |
commit | b97e87cc01703e2e612b1fc21c54f90b1a0f4519 (patch) | |
tree | 0be8537d7e64d25e8b57f27e04bd1124bef105a5 /gas | |
parent | 7bc112c1b9bc6e6346e2afff9174fe4adbce909f (diff) | |
download | gdb-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/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 4 |
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"), |