projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc06a3e
)
For COFF those .type and .size are not required and don't work like this, anyway...
author
Moritz Kroll
<Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 11:17:58 +0000
(11:17 +0000)
committer
Moritz Kroll
<Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 11:17:58 +0000
(11:17 +0000)
[r20989]
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
fbacf8c
..
531e868
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-1183,7
+1183,8
@@
static void dump_global(be_gas_decl_env_t *env, ir_entity *ent)
emit_align(align);
}
- if (visibility != visibility_external_allocated && !emit_as_common) {
+ if (visibility != visibility_external_allocated && !emit_as_common
+ && be_gas_flavour == GAS_FLAVOUR_ELF) {
be_emit_cstring("\t.type\t");
be_emit_ident(ld_ident);
be_emit_cstring(", @object\n\t.size\t");