summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm
diff options
context:
space:
mode:
authorEugene Cohen <eugene@hp.com>2015-12-03 20:28:02 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-12-03 20:28:02 +0000
commitefda17751344965c7f51cbd0660ed6a59e2de855 (patch)
treea2d80f66fe6494c0971e484fe24454ee6db36840 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm
parente04671e81a7fe842f640a926171048e5524b46e0 (diff)
downloadedk2-efda17751344965c7f51cbd0660ed6a59e2de855.tar.gz
edk2-efda17751344965c7f51cbd0660ed6a59e2de855.tar.bz2
edk2-efda17751344965c7f51cbd0660ed6a59e2de855.zip
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 <eugene@hp.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@gmail.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19109 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm8
1 files changed, 3 insertions, 5 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm
index 85e1ba8d6d..434a652f78 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/uwrite.asm
@@ -13,10 +13,8 @@
//------------------------------------------------------------------------------
- EXPORT __aeabi_uwrite4
- EXPORT __aeabi_uwrite8
- AREA Uwrite4, CODE, READONLY
+ INCLUDE AsmMacroExport.inc
;
;UINT32
@@ -27,7 +25,7 @@
; );
;
;
-__aeabi_uwrite4
+ RVCT_ASM_EXPORT __aeabi_uwrite4
mov r2, r0, lsr #8
strb r0, [r1]
strb r2, [r1, #1]
@@ -46,7 +44,7 @@ __aeabi_uwrite4
; );
;
;
-__aeabi_uwrite8
+ RVCT_ASM_EXPORT __aeabi_uwrite8
mov r3, r0, lsr #8
strb r0, [r2]
strb r3, [r2, #1]