Commit 04321ea9 authored by Matthias Braun's avatar Matthias Braun
Browse files

gas on cygwin doesn't like section type (althought that's not what the docu says IMO)

[r27408]
parent 001d1f92
......@@ -169,9 +169,12 @@ static void emit_section(be_gas_section_t section, const ir_entity *entity)
be_emit_char('T');
if (flags & GAS_SECTION_FLAG_COMDAT)
be_emit_char('G');
be_emit_cstring("\",");
be_emit_char(be_gas_elf_type_char);
be_emit_string(type[base]);
/* section type */
if (be_gas_object_file_format != OBJECT_FILE_FORMAT_COFF) {
be_emit_cstring("\",");
be_emit_char(be_gas_elf_type_char);
be_emit_string(type[base]);
}
if (flags & GAS_SECTION_FLAG_COMDAT) {
be_emit_char(',');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment