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). |
||
|---|---|---|
| .. | ||
| crt1.s | ||
| crti.s | ||
| crtn.s | ||