Fix linking in static ctors

* It seems we also need to call them in the .init_array section.
This commit is contained in:
François Revol
2012-05-15 19:16:52 +02:00
parent e91f4b7230
commit 6f19b90aca
@@ -11,7 +11,7 @@ SECTIONS
. = ALIGN(0x4);
__ctor_list = .;
.ctors : { *(.ctors) }
.ctors : { *(.ctors) *(.init_array) }
__ctor_end = .;
.rodata : { *(.rodata .rodata.*) }