aboutsummaryrefslogtreecommitdiff
path: root/gas/cgen.c
diff options
context:
space:
mode:
authorMatthew Green <mrg@redhat.com>2001-02-16 12:29:39 +0000
committerMatthew Green <mrg@redhat.com>2001-02-16 12:29:39 +0000
commit363c574f5104d84948a0f0c22d72e677de8cc569 (patch)
treee25b3d90973eb0ad6338c4a98fef19bcbb882f02 /gas/cgen.c
parent17dee195e8c8122d0365afbb2840bf82d9c81134 (diff)
downloadgdb-363c574f5104d84948a0f0c22d72e677de8cc569.zip
gdb-363c574f5104d84948a0f0c22d72e677de8cc569.tar.gz
gdb-363c574f5104d84948a0f0c22d72e677de8cc569.tar.bz2
2001-02-16 matthew green <mrg@redhat.com>
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
Diffstat (limited to 'gas/cgen.c')
-rw-r--r--gas/cgen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/cgen.c b/gas/cgen.c
index 271d391..602af6e 100644
--- a/gas/cgen.c
+++ b/gas/cgen.c
@@ -615,7 +615,9 @@ gas_cgen_md_apply_fix3 (fixP, valueP, seg)
case BFD_RELOC_32:
md_number_to_chars (where, value, 4);
break;
- /* FIXME: later add support for 64 bits. */
+ case BFD_RELOC_64:
+ md_number_to_chars (where, value, 8);
+ break;
default:
as_bad_where (fixP->fx_file, fixP->fx_line,
_("internal error: can't install fix for reloc type %d (`%s')"),