This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
musl
mirror of
git://git.musl-libc.org/musl
Watch
1
Star
0
Fork
You've already forked musl
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c18d05f0e8
musl
/
crt
/
arm
/
crtn.s
10 lines
88 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
explicitly assemble all arm asm sources as UAL these files are all accepted as legacy arm syntax when producing arm code, but legacy syntax cannot be used for producing thumb2 with access to the full ISA. even after switching to UAL, some asm source files contain instructions which are not valid in thumb mode, so these will need to be addressed separately.
2015-11-10 05:01:55 +00:00
.syntax
unified
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 19:39:09 +00:00
.section
.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 07:48:35 +00:00
pop
{
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 19:39:09 +00:00
bx
l
r
.section
.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 07:48:35 +00:00
pop
{
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 19:39:09 +00:00
bx
l
r