freebsd-skq/lib/csu/arm/crtn.S
Konstantin Belousov 96cdb0ab9d Annotate arm userspace assembler sources stating their tolerance to
the non-executable stack.

Reviewed by:	andrew
Sponsored by:	The FreeBSD Foundation
2015-09-29 16:09:58 +00:00

13 lines
224 B
ArmAsm

#include <machine/asm.h>
__FBSDID("$FreeBSD$");
.section .init,"ax",%progbits
ldmea fp, {fp, sp, pc}
mov pc, lr
.section .fini,"ax",%progbits
ldmea fp, {fp, sp, pc}
mov pc, lr
.section .note.GNU-stack,"",%progbits