From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthew green To: cgen@sources.redhat.com Cc: binutils@sources.redhat.com Subject: RFA: 64 bit reloc support for gas cgen targets. Date: Fri, 16 Feb 2001 00:56:00 -0000 Message-id: <23164.982313712@cygnus.com> X-SW-Source: 2001-q1/msg00112.html 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 * 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')"),