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/divsi3.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/divsi3.S')
-rw-r--r-- | lib/libc/arm/gen/divsi3.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/arm/gen/divsi3.S b/lib/libc/arm/gen/divsi3.S index 104a958..82de5de 100644 --- a/lib/libc/arm/gen/divsi3.S +++ b/lib/libc/arm/gen/divsi3.S @@ -29,6 +29,7 @@ ENTRY(__umodsi3) add sp, sp, #4 /* unalign stack */ mov r0, r1 ldmfd sp!, {pc} +END(__umodsi3) ENTRY(__modsi3) stmfd sp!, {lr} @@ -48,6 +49,7 @@ ENTRY(__modsi3) mvn r0, #0 #endif RET +END(__modsi3) ENTRY(__udivsi3) .L_udivide: /* r0 = r0 / r1; r1 = r0 % r1 */ @@ -70,6 +72,7 @@ ENTRY(__udivsi3) mov r0, r1 mov r1, #0 RET +END(__udivsi3) ENTRY(__divsi3) .L_divide: /* r0 = r0 / r1; r1 = r0 % r1 */ @@ -385,3 +388,4 @@ ENTRY(__divsi3) addhs r3, r3, r2 mov r0, r3 RET +END(__divsi3) |