arm/arm64: implement a boot header capability
[oweals/u-boot.git] / arch / arm / lib / ashrdi3.S
index 3eb59ec7d1214944e8e09cae9f16c9e82c6ecbc5..6e15774c0a89239eb2d027e4f2521b2fbcc81ed0 100644 (file)
@@ -15,9 +15,9 @@
 #define ah r1
 #endif
 
+.pushsection .text.__ashrdi3, "ax"
 ENTRY(__ashrdi3)
 ENTRY(__aeabi_lasr)
-.pushsection .text.__ashrdi3, "ax"
 
        subs    r3, r2, #32
        rsb     ip, r2, #32
@@ -29,6 +29,6 @@ ENTRY(__aeabi_lasr)
        mov     ah, ah, asr r2
        ret     lr
 
-.popsection
 ENDPROC(__ashrdi3)
 ENDPROC(__aeabi_lasr)
+.popsection