Hi !
I am writing assembly code for some ARMv7a and ARMv8a CPU. I know that code has to be 4 bytes aligned, but I saw in several places (uboot/linux) the ".align 4" GCC directive, which will align to 2**4 = 16 bytes.
When writing code that will be called from C code, what alignment should I set to my assembly function in aarch32 ? in aarch64 (if they are different) ?
I can't find a clear answer to that.
Best regards,
V.