__aeabi_memcpy __aeabi_memcpy4 __aeabi_memcpy8
armcc下memcpy存在字节对齐问题,如果变量地址不对齐但是采用__aeabi_memcpy4、 __aeabi_memcpy8则会hardfault如下代码反汇编armcc解决方式如下How do the ARM Compilers handle memcpy()?Applies to: ARM Developer Suite (ADS), RealView Developer Kit (RVDK) for OKI, RealView Developer Kit (RVDK) for S
原创
2022-04-19 19:32:54 ·
3213 阅读 ·
0 评论