projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6c981
)
* config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte fixups.
author
Nick Clifton
<nickc@redhat.com>
Wed, 19 Sep 2007 15:25:13 +0000
(15:25 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Wed, 19 Sep 2007 15:25:13 +0000
(15:25 +0000)
gas/config/tc-h8300.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-h8300.c
b/gas/config/tc-h8300.c
index 57768d9aad91d77ab5a6057fa588bf839cff0a93..833b9ae96a73c0791c3d6ecdcc09dc89294cac84 100644
(file)
--- 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 ();
}