summaryrefslogtreecommitdiff
path: root/gas/cgen.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-08 12:47:08 +0000
committerNick Clifton <nickc@redhat.com>2003-04-08 12:47:08 +0000
commit87d0831f7992834926a02ab5dd722601e6fd7b1c (patch)
tree239a120309b286302a61f980961cf44561368e56 /gas/cgen.h
parent187f7d39f64589400bfca0c52ce5686b52ccea6e (diff)
downloadbinutils-redhat-87d0831f7992834926a02ab5dd722601e6fd7b1c.tar.gz
* 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
Diffstat (limited to 'gas/cgen.h')
-rw-r--r--gas/cgen.h3
1 files changed, 3 insertions, 0 deletions
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 */