diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-14 22:45:46 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-14 22:45:46 +0000 |
commit | 5792e320d321b7330d9c59859b183e310a34b7a3 (patch) | |
tree | 5d1a7dcd96155541f67afecd407d4aa710ffc9b7 | |
parent | 7afa5ea8003e5d3b47a4b42cd2ef353f62126afa (diff) | |
download | edk2-5792e320d321b7330d9c59859b183e310a34b7a3.tar.gz edk2-5792e320d321b7330d9c59859b183e310a34b7a3.tar.bz2 edk2-5792e320d321b7330d9c59859b183e310a34b7a3.zip |
Fix build break on Apple Xcode, caused by fixing normal gcc build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11166 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S b/ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S index a4e165fdc7..9db6756c7b 100644 --- a/ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S +++ b/ArmPkg/Drivers/CpuDxe/ExceptionSupport.ARMv6.S @@ -57,7 +57,9 @@ This is the stack constructed by the exception handler (low address to high addr .globl ASM_PFX(CommonCExceptionHandler) .text +#if !defined(__APPLE__) .fpu neon @ makes vpush/vpop assemble +#endif .align 3 @@ -247,7 +249,8 @@ NoAdjustNeeded: @ R0 is ExceptionType mov R1,SP @ R1 is SystemContext - vpush {d0-d15} @ save vstm registers in case they are used in optimizations
+ vpush {d0-d15} @ save vstm registers in case they are used in optimizations + /* VOID |