projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3af4232
)
Support dtor sections on Mach-O.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 5 Feb 2010 22:23:21 +0000
(22:23 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 5 Feb 2010 22:23:21 +0000
(22:23 +0000)
[r27075]
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
f8e028f
..
65a5456
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-93,7
+93,7
@@
static const char *get_section_name(be_gas_section_t section)
".data",
NULL, /* TLS is not supported on Mach-O */
".mod_init_func",
- NULL, /* are there destructors on mach-o? */
+ ".mod_term_func",
".cstring",
".section\t__IMPORT,__jump_table,symbol_stubs,self_modifying_code+pure_instructions,5",
".section\t__IMPORT,__pointers,non_lazy_symbol_pointers"