Revision: 18865
          http://sourceforge.net/p/edk2/code/18865
Author:   abiesheuvel
Date:     2015-11-17 13:58:19 +0000 (Tue, 17 Nov 2015)
Log Message:
-----------
ArmPkg: ensure DebugAgentVectorTable is 2K-aligned

We force alignment to 2K after generating the DebugAgentVectorTable
symbol, and hence DebugAgentVectorTable itself may not be 2K-aligned,
and table entries may not be at the correct offset from the
DebugAgentVectorTable base address.

Fix this by forcing alignment before generating the
DebugAgentVectorTable symbol.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>

Modified Paths:
--------------
    
trunk/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S

Modified: 
trunk/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S
===================================================================
--- 
trunk/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S
    2015-11-17 10:16:02 UTC (rev 18864)
+++ 
trunk/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/AArch64/DebugAgentException.S
    2015-11-17 13:58:19 UTC (rev 18865)
@@ -16,12 +16,12 @@
 GCC_ASM_IMPORT(DefaultExceptionHandler)
 
 .text
+.align 11
 ASM_PFX(DebugAgentVectorTable):
 
 //
 // Current EL with SP0 : 0x0 - 0x180
 //
-.align 11
 ASM_PFX(SynchronousExceptionSP0):
   b   ASM_PFX(SynchronousExceptionSP0)
 


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to