fix arm crti/crtn code
authorRich Felker <dalias@aerifal.cx>
Mon, 25 Jun 2012 20:06:09 +0000 (16:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jun 2012 20:06:09 +0000 (16:06 -0400)
commit9abab94b211c5103e3f6baf97ad76523618a553c
treeae363f61070eb73b8946127e3dada19067de0e4e
parentec820f1262a5d6331ad0fe9b56a8a84365766fd1
fix arm crti/crtn code

lr must be saved because init/fini-section code from the compiler
clobbers it. this was not a problem when i tested without gcc's
crtbegin/crtend files present, but with them, musl on arm fails to
work (infinite loop in _init).
crt/arm/crti.s
crt/arm/crtn.s