diff options
author | Eugene Cohen <eugene@hp.com> | 2015-12-03 20:28:02 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-12-03 20:28:02 +0000 |
commit | efda17751344965c7f51cbd0660ed6a59e2de855 (patch) | |
tree | a2d80f66fe6494c0971e484fe24454ee6db36840 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm | |
parent | e04671e81a7fe842f640a926171048e5524b46e0 (diff) | |
download | edk2-platforms-efda17751344965c7f51cbd0660ed6a59e2de855.tar.xz |
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/llsr.asm')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm index 829c871d94..881db106d9 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsr.asm @@ -13,9 +13,8 @@ //------------------------------------------------------------------------------
- EXPORT __aeabi_llsr
- AREA Math, CODE, READONLY
+ INCLUDE AsmMacroExport.inc
;
;VOID
@@ -26,7 +25,7 @@ ; IN UINT32 Size
; );
;
-__aeabi_llsr
+ RVCT_ASM_EXPORT __aeabi_llsr
SUBS r3,r2,#0x20
BPL {pc} + 0x18 ; 0x1c
RSB r3,r2,#0x20
|