* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
[deliverable/binutils-gdb.git] / gas / cgen.c
index 76e6826b1eaee5d4aebf4ae653f2cb3c0aa5f2b7..e0740f5795259bd781f87df954568626f34fe2c5 100644 (file)
@@ -716,3 +716,15 @@ gas_cgen_tc_gen_reloc (section, fixP)
   reloc->address = fixP->fx_frag->fr_address + fixP->fx_where;
   return reloc;
 }
+
+/* Perform any cgen specific initialisation.
+   Called after gas_cgen_cpu_desc has been created.  */
+
+void
+gas_cgen_begin ()
+{
+  if (flag_signed_overflow_ok)
+    cgen_set_signed_overflow_ok (gas_cgen_cpu_desc);
+  else
+    cgen_clear_signed_overflow_ok (gas_cgen_cpu_desc);
+}
This page took 0.024569 seconds and 4 git commands to generate.