This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
RFA: 64 bit reloc support for gas cgen targets.
- To: cgen at sources dot redhat dot com
- subject: RFA: 64 bit reloc support for gas cgen targets.
- From: matthew green <mrg at cygnus dot com>
- Date: Fri, 16 Feb 2001 19:55:12 +1100
- Cc: binutils at sources dot redhat dot com
- organisation: Red Hat, Inc.
hi folks.
this patch adds support for BFD_RELOC_64 to gas/cgen.c, to allow
the output of these relocs.
ok to commit?
.mrg.
2001-02-16 matthew green <mrg@redhat.com>
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
Index: gas/cgen.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gas/cgen.c,v
retrieving revision 1.36
diff -p -r1.36 cgen.c
*** cgen.c 2001/01/12 23:35:10 1.36
--- cgen.c 2001/02/16 08:54:03
*************** gas_cgen_md_apply_fix3 (fixP, valueP, se
*** 615,621 ****
case BFD_RELOC_32:
md_number_to_chars (where, value, 4);
break;
! /* FIXME: later add support for 64 bits. */
default:
as_bad_where (fixP->fx_file, fixP->fx_line,
_("internal error: can't install fix for reloc type %d (`%s')"),
--- 615,623 ----
case BFD_RELOC_32:
md_number_to_chars (where, value, 4);
break;
! 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')"),