This website requires JavaScript.
Explore
Help
Sign In
fluencelabs
/
musl
Watch
1
Star
0
Fork
0
You've already forked musl
mirror of
https://github.com/fluencelabs/musl
synced
2025-04-25 07:12:15 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
musl
/
crt
/
arm
/
crti.s
10 lines
101 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
add support for init/finit (constructors and destructors) this is mainly in hopes of supporting c++ (not yet possible for other reasons) but will also help applications/libraries which use (and more often, abuse) the gcc __attribute__((__constructor__)) feature in "C" code. x86_64 and arm versions of the new startup asm are untested and may have minor problems.
2012-02-06 14:39:09 -05:00
.section
.init
.global
_init
_init
:
remove init/fini array asm from arm crti/crtn files this code has been replaced by portable C code that works on all archs. the old asm needs to be removed or ctors/dtors will run twice.
2013-07-21 03:48:35 -04:00
push
{
r0
,
l
r
}
add support for init/finit (constructors and destructors) this is mainly in hopes of supporting c++ (not yet possible for other reasons) but will also help applications/libraries which use (and more often, abuse) the gcc __attribute__((__constructor__)) feature in "C" code. x86_64 and arm versions of the new startup asm are untested and may have minor problems.
2012-02-06 14:39:09 -05:00
.section
.fini
.global
_fini
_fini
:
remove init/fini array asm from arm crti/crtn files this code has been replaced by portable C code that works on all archs. the old asm needs to be removed or ctors/dtors will run twice.
2013-07-21 03:48:35 -04:00
push
{
r0
,
l
r
}
Reference in New Issue
Copy Permalink