adapt asm for ARM/AAPCS/ELF