From efda17751344965c7f51cbd0660ed6a59e2de855 Mon Sep 17 00:00:00 2001 From: Eugene Cohen Date: Thu, 3 Dec 2015 20:28:02 +0000 Subject: ArmPkg: update RVCT assembly functions to use new RVCT_ASM_EXPORT macro This has the effect of splitting assembly functions into their own sections so the linker can remove unused ones to save space. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eugene Cohen Reviewed-by: Ard Biesheuvel git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19109 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm') diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm index 60556b105d..ae91197128 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm @@ -13,9 +13,8 @@ //------------------------------------------------------------------------------ - EXPORT __aeabi_memcpy - AREA Memcpy, CODE, READONLY + INCLUDE AsmMacroExport.inc ; ;VOID @@ -26,7 +25,7 @@ ; IN UINT32 Size ; ); ; -__aeabi_memcpy + RVCT_ASM_EXPORT __aeabi_memcpy cmp r2, #0 bxeq lr push {lr} -- cgit v1.2.3