diff options
author | ian <ian@FreeBSD.org> | 2014-08-31 17:21:51 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-08-31 17:21:51 +0000 |
commit | 59d82a0684865a61516aae0b1c29c6f991170ff2 (patch) | |
tree | 5a7ee53bf348f48f671152e7ee2183d48346d106 /lib/libc/arm/gen/sigsetjmp.S | |
parent | ce798c0efa22b2c5f2ebfd3a73e3df38ac36f2b1 (diff) | |
download | FreeBSD-src-59d82a0684865a61516aae0b1c29c6f991170ff2.zip FreeBSD-src-59d82a0684865a61516aae0b1c29c6f991170ff2.tar.gz |
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
Diffstat (limited to 'lib/libc/arm/gen/sigsetjmp.S')
-rw-r--r-- | lib/libc/arm/gen/sigsetjmp.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/arm/gen/sigsetjmp.S b/lib/libc/arm/gen/sigsetjmp.S index 79f1f9d..3743e89 100644 --- a/lib/libc/arm/gen/sigsetjmp.S +++ b/lib/libc/arm/gen/sigsetjmp.S @@ -51,6 +51,7 @@ ENTRY(sigsetjmp) teq r1, #0 beq PIC_SYM(_C_LABEL(_setjmp), PLT) b PIC_SYM(_C_LABEL(setjmp), PLT) +END(sigsetjmp) .L_setjmp_magic: .word _JB_MAGIC__SETJMP @@ -64,3 +65,4 @@ ENTRY(siglongjmp) teq r2, r3 /* magic correct? */ beq PIC_SYM(_C_LABEL(_longjmp), PLT) b PIC_SYM(_C_LABEL(longjmp), PLT) +END(siglongjmp) |