This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA: 64 bit reloc support for gas cgen targets.




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')"),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]