audk/ArmPkg/Include
Ard Biesheuvel e7e120133d ArmPkg: rewrite vector table population macros
Unfortunately, Clang does not support the use of symbol references in .org
directives, and bails with the following error message when it encounters
them:

  <...>:error: expected assembly-time absolute expression
  .org DebugAgentVectorTable + 0x000

So replace the .org arguments with absolute values, and move the whole
vector table into a subsection with the appropriate alignment, and
starting at .org 0x0. This gives the same protection with respect to
entries that exceed 128 bytes, in a way that Clang supports as well.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19303 6f19259b-4bc3-4df7-8a09-765794883524
2015-12-16 12:57:14 +00:00
..
Chipset ArmPkg: rewrite vector table population macros 2015-12-16 12:57:14 +00:00
Guid ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
IndustryStandard ArmPkg: Add PSCI 0.2 constants for system poweroff and reset 2014-09-10 18:45:08 +00:00
Library ArmPkg: update InvalidateInstructionCacheRange to flush only to PoU 2015-12-08 15:58:53 +00:00
Ppi
Protocol ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
AsmMacroExport.inc ArmPkg RVCT: add asm macro combining EXPORT, AREA and label definition 2015-12-02 16:23:20 +00:00
AsmMacroIoLib.h ArmPkg: remove SetPrimaryStack and InitializePrimaryStack macros 2015-11-27 17:11:03 +00:00
AsmMacroIoLib.inc ArmPkg: remove SetPrimaryStack and InitializePrimaryStack macros 2015-11-27 17:11:03 +00:00
AsmMacroIoLibV8.h ArmPkg: remove SetPrimaryStack and InitializePrimaryStack macros 2015-11-27 17:11:03 +00:00