sparc: dont emit unnecarry block labels
[libfirm] / ir / be / sparc / bearch_sparc.c
index be2d78f..113639f 100644 (file)
@@ -42,6 +42,7 @@
 #include "lower_alloc.h"
 #include "lower_builtins.h"
 #include "lower_calls.h"
+#include "lower_mode_b.h"
 #include "lower_softfloat.h"
 
 #include "bitset.h"
@@ -357,7 +358,8 @@ static arch_env_t *sparc_init(FILE *outfile)
        isa->constants = pmap_create();
 
        be_gas_elf_type_char      = '#';
-       be_gas_object_file_format = OBJECT_FILE_FORMAT_ELF_SPARC;
+       be_gas_object_file_format = OBJECT_FILE_FORMAT_ELF;
+       be_gas_elf_variant        = ELF_VARIANT_SPARC;
 
        be_emit_init(outfile);
 
@@ -419,7 +421,6 @@ static void sparc_lower_for_target(void)
        lower_mode_b_config_t lower_mode_b_config = {
                mode_Iu,
                sparc_create_set,
-               0,
        };
 
        lower_calls_with_compounds(LF_RETURN_HIDDEN);