aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-09-19 15:25:13 +0000
committerNick Clifton <nickc@redhat.com>2007-09-19 15:25:13 +0000
commit550c188837684e70efba06a9cb6d9f280be7c134 (patch)
treec4903f38d733727e07d07aa2679deddd130e24ba
parentaa6c981f95f49601089a4355a5e907eadd0dbaa9 (diff)
downloadgdb-550c188837684e70efba06a9cb6d9f280be7c134.zip
gdb-550c188837684e70efba06a9cb6d9f280be7c134.tar.gz
gdb-550c188837684e70efba06a9cb6d9f280be7c134.tar.bz2
* config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte fixups.
-rw-r--r--gas/config/tc-h8300.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 57768d9..833b9ae 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -2129,6 +2129,13 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED)
*buf++ = (val >> 8);
*buf++ = val;
break;
+ case 8:
+ /* This can arise when the .quad or .8byte pseudo-ops are used.
+ Returning here (without setting fx_done) will cause the code
+ to attempt to generate a reloc which will then fail with the
+ slightly more helpful error message: "Cannot represent
+ relocation type BFD_RELOC_64". */
+ return;
default:
abort ();
}