sparc: Do not force the object file format to ELF.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 29 Nov 2012 22:50:51 +0000 (23:50 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 30 Nov 2012 07:45:43 +0000 (08:45 +0100)
ir/be/sparc/bearch_sparc.c

index 741fb0c..7bc2938 100644 (file)
@@ -430,9 +430,8 @@ static arch_env_t *sparc_begin_codegeneration(const be_main_env_t *env)
        *isa = sparc_isa_template;
        isa->constants = pmap_create();
 
-       be_gas_elf_type_char      = '#';
-       be_gas_object_file_format = OBJECT_FILE_FORMAT_ELF;
-       be_gas_elf_variant        = ELF_VARIANT_SPARC;
+       be_gas_elf_type_char = '#';
+       be_gas_elf_variant   = ELF_VARIANT_SPARC;
 
        be_emit_init(env->file_handle);
        be_gas_begin_compilation_unit(env);