freebsd-dev/lib/libc/arm/gen/_ctx_start.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
198 B
ArmAsm

#include <machine/asm.h>
.ident "$FreeBSD$"
ENTRY(_ctx_start)
mov lr, pc
mov pc, r4
mov r0, r5
bl _C_LABEL(ctx_done)
bl _C_LABEL(abort)
END(_ctx_start)
.section .note.GNU-stack,"",%progbits