summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-10 14:38:08 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-08-11 12:40:51 +0200
commit903e31242d016a82a363e4281959fc1297d25769 (patch)
treee695f360c13bf33ab074a727f89ad46bd64ea9a0 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
parent7589d9dbcfbfbe75cce4b402cdf81fed7e00b863 (diff)
downloadedk2-903e31242d016a82a363e4281959fc1297d25769.tar.gz
edk2-903e31242d016a82a363e4281959fc1297d25769.tar.bz2
edk2-903e31242d016a82a363e4281959fc1297d25769.zip
ArmPkg/CompilerIntrinsicsLib: switch to ASM_FUNC() asm macro
Annotate functions with ASM_FUNC() so that they are emitted into separate sections. Note that in some cases, various entry points refer to different parts of the same routine, so in those cases, the files have been left untouched. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
index cbfb127350..e173d4ada7 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
@@ -12,11 +12,9 @@
#
#------------------------------------------------------------------------------
- .text
- .align 2
- GCC_ASM_EXPORT(__udivdi3)
+#include <AsmMacroIoLib.h>
-ASM_PFX(__udivdi3):
+ASM_FUNC(__udivdi3)
stmfd sp!, {r7, lr}
add r7, sp, #0
sub sp, sp, #8