collect-aros, genmodule: support .init_array/.fini_array sections
commitfc3cc1954dfbb46e60c854db7c8f431b958bfb4e
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 26 Aug 2013 13:12:31 +0000 (26 13:12 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 26 Aug 2013 13:12:31 +0000 (26 13:12 +0000)
tree1120f6a3d78f95bcd75e0a1f3cd68d4d0709d626
parente3f3a19a9e5db8f55ba27cd8ab6fd3dfbdbe7d93
collect-aros, genmodule: support .init_array/.fini_array sections

ARM EABI places static C++ constructors/destructors in those
sections instead of .ctors/.dtors. Also in future other GCC
targets will be switched to .init_array/.fini_array.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@47888 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
compiler/autoinit/initexitsets.c
compiler/include/aros/symbolsets.h
tools/collect-aros/gensets.c
tools/genmodule/writestart.c