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
This commit is contained in:
committed by
abiesheuvel
parent
e04671e81a
commit
efda177513
@ -14,10 +14,8 @@
|
||||
|
||||
|
||||
|
||||
EXPORT __aeabi_uread4
|
||||
EXPORT __aeabi_uread8
|
||||
|
||||
AREA Uread4, CODE, READONLY
|
||||
INCLUDE AsmMacroExport.inc
|
||||
|
||||
;
|
||||
;UINT32
|
||||
@ -26,7 +24,7 @@
|
||||
; IN VOID *Pointer
|
||||
; );
|
||||
;
|
||||
__aeabi_uread4
|
||||
RVCT_ASM_EXPORT __aeabi_uread4
|
||||
ldrb r1, [r0]
|
||||
ldrb r2, [r0, #1]
|
||||
ldrb r3, [r0, #2]
|
||||
@ -43,7 +41,7 @@ __aeabi_uread4
|
||||
; IN VOID *Pointer
|
||||
; );
|
||||
;
|
||||
__aeabi_uread8
|
||||
RVCT_ASM_EXPORT __aeabi_uread8
|
||||
mov r3, r0
|
||||
|
||||
ldrb r1, [r3]
|
||||
|
Reference in New Issue
Block a user