简体   繁体   中英

error in arm-neon asm linking with C++ in android

I'm new to android native assembly,I'm trying to link the arm-neon asm function with c++. but its not linking.I have followed the following website given below. If using the function in that website its compiling and calling the armfunction ,while i try with my code its showing error undefined reference to myfunction. If same function i wrote in c and asm the compiler compiling and if any error exist in asm code its shows the error.

http://www.eggwall.com/2011/09/android-arm-assembly-calling-assembly.html

regards VS

Thanks for reply, our code look like

    .text
.global fastForwardDst
.type   fastForwardDst, %function

fastForwardDst:

@Doing operation @

.size   fastForwardDst, .-fastForwardDst

and saved as "forward.s" and we added in Android.mk.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM