]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/as.h
gas: generate .sframe from CFI directives
[thirdparty/binutils-gdb.git] / gas / as.h
index 1b924071938859db4ac18e299997853ca8651cd2..23542e452b6533db6698a195ed48e48b2e281e96 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -261,7 +261,10 @@ enum _relax_state
   rs_cfa,
 
   /* Cross-fragment dwarf2 line number optimization.  */
-  rs_dwarf2dbg
+  rs_dwarf2dbg,
+
+  /* SFrame FRE type selection optimization.  */
+  rs_sframe
 };
 
 typedef enum _relax_state relax_stateT;
@@ -528,6 +531,11 @@ int eh_frame_relax_frag (fragS *);
 void eh_frame_convert_frag (fragS *);
 int generic_force_reloc (struct fix *);
 
+/* SFrame FRE optimization.  */
+int sframe_estimate_size_before_relax (fragS *);
+int sframe_relax_frag (fragS *);
+void sframe_convert_frag (fragS *);
+
 #include "expr.h"              /* Before targ-*.h */
 
 /* This one starts the chain of target dependent headers.  */