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). |
||
|---|---|---|
| .. | ||
| arm | ||
| i386 | ||
| x86_64 | ||
| crt1.c | ||
| crti.c | ||
| crtn.c | ||
| Scrt1.c | ||