projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abbf949
)
output 'x' instead of 'w' flag for text setions
author
Matthias Braun
<matze@braunis.de>
Mon, 15 Feb 2010 13:45:37 +0000
(13:45 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 15 Feb 2010 13:45:37 +0000
(13:45 +0000)
[r27167]
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
1e04783
..
703d81a
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-161,7
+161,9
@@
static void emit_section(be_gas_section_t section, const ir_entity *entity)
be_emit_cstring(",\"");
if (be_gas_object_file_format != OBJECT_FILE_FORMAT_COFF)
be_emit_char('a');
- if (base != GAS_SECTION_RODATA)
+ if (base == GAS_SECTION_TEXT)
+ be_emit_char('x');
+ if (base != GAS_SECTION_RODATA && base != GAS_SECTION_TEXT)
be_emit_char('w');
if (flags & GAS_SECTION_FLAG_TLS)
be_emit_char('T');