From 9cc92a36ed6e61f930a367557dc8e92dcdda5a79 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 8 Apr 2003 12:47:08 +0000 Subject: * as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin. * cgen.c (gas_cgen_begin): New function. If flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok. * cgen.h: Prototype gas_cgen_begin. * testsuite/gas/m32r/m32r.exp: Run signed-relocs test. * testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs. * testsuite/gas/m32r/signed-relocs.d: New file: Expected results --- gas/cgen.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/cgen.h') diff --git a/gas/cgen.h b/gas/cgen.h index 9d814b785c..d892915c8f 100644 --- a/gas/cgen.h +++ b/gas/cgen.h @@ -98,4 +98,7 @@ md_cgen_record_fixup_exp PARAMS ((fragS *, int, const CGEN_INSN *, int, extern void gas_cgen_md_operand PARAMS ((expressionS *)); +/* Perform any cgen specific initialisation for gas. */ +extern void gas_cgen_begin PARAMS ((void)); + #endif /* GAS_CGEN_H */ -- cgit v1.2.3