xref: /aosp_15_r20/bionic/libc/arch-riscv64/string/__memcpy_chk.S (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker#include <private/bionic_asm.h>
2*8d67ca89SAndroid Build Coastguard Worker
3*8d67ca89SAndroid Build Coastguard WorkerENTRY(__memcpy_chk)
4*8d67ca89SAndroid Build Coastguard Worker  bleu a2, a3, 1f
5*8d67ca89SAndroid Build Coastguard Worker  call __memcpy_chk_fail
6*8d67ca89SAndroid Build Coastguard Worker
7*8d67ca89SAndroid Build Coastguard Worker1:
8*8d67ca89SAndroid Build Coastguard Worker   tail memcpy
9*8d67ca89SAndroid Build Coastguard WorkerEND(__memcpy_chk)
10