Re: [edk2] [PATCH 5/7] ArmPkg/ArmExceptionLib: make build time define visible to the compiler

2016-03-21 Thread Cohen, Eugene
d Biesheuvel > Sent: Thursday, March 17, 2016 7:20 AM > To: edk2-devel@lists.01.org; leif.lindh...@linaro.org; Cohen, Eugene > > Cc: Ard Biesheuvel > Subject: [edk2] [PATCH 5/7] ArmPkg/ArmExceptionLib: make build time > define visible to the compiler > > The global gArmR

[edk2] [PATCH 5/7] ArmPkg/ArmExceptionLib: make build time define visible to the compiler

2016-03-19 Thread Ard Biesheuvel
The global gArmRelocateVectorTable is a build time constant, but due to its external linkage and lack of constness, the compiler does not see that. So turn it into a static boolean, and at the same time, make the function CopyExceptionHandlers() (which is only called if gArmRelocateVectorTable is s