summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-15 00:58:34 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-15 00:58:34 +0000
commite7cb469e3aa3d5b05953a25f1ef40aea89d058c3 (patch)
treee0c5566224f5d00fc50873dbf2add9dc2856c7fa /MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
parent5792e320d321b7330d9c59859b183e310a34b7a3 (diff)
downloadedk2-e7cb469e3aa3d5b05953a25f1ef40aea89d058c3.tar.gz
edk2-e7cb469e3aa3d5b05953a25f1ef40aea89d058c3.tar.bz2
edk2-e7cb469e3aa3d5b05953a25f1ef40aea89d058c3.zip
Fix issue with CodeSourcery gcc requiring assembly functions to have a .type define inorder to support interworking (calling from thumb(C code) to ARM code (hadn written assembly). We had to add a macro as the .type directive is not supported, or needed, by Xcode. All ARM .S files need to be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11167 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S')
-rw-r--r--MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S b/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
index 43b747fb62..8ba3a439bd 100644
--- a/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
+++ b/MdePkg/Library/BaseLib/Arm/CpuBreakpoint.S
@@ -17,6 +17,7 @@
.text
.p2align 2
.globl ASM_PFX(CpuBreakpoint)
+INTERWORK_FUNC(CpuBreakpoint)
#/**
# Generates a breakpoint on the CPU.