From ae7f81cba3b9c8d54a7c55391f2eafdc28a9f92e Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Tue, 27 Sep 2011 18:13:26 +0000 Subject: [PATCH] ArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4 The passed arguments did not match the __aeabi_memset prototype. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12459 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm index 5c6b808f1e..2d901c3a6b 100755 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm @@ -47,9 +47,11 @@ L9 ldmfd sp!, {r7, pc} __aeabi_memclr + mov r2, r1 mov r1, #0 b __aeabi_memset __aeabi_memclr4 + mov r2, r1 mov r1, #0 b __aeabi_memset -- 2.39.2