freebsd-skq/lib/libc/arm/gen/_ctx_start.S
ian 59d82a0684 In ARM asm code, ensure that every ENTRY(foo) has a matching END(foo).
The EABI unwind info requires a .fnend for every .fnstart, and newer
binutils will complain about seeing two .fnstart in a row.  This change
allows newer tools to compile our code.

Reported by:	bapt
Reviewed by:	imp
2014-08-31 17:21:51 +00:00

11 lines
158 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)