Re: [edk2-devel] [PATCH v2] BaseTools/GenFw: Correct offset when relocating an ADR

2023-12-21 Thread Ard Biesheuvel
On Wed, 20 Dec 2023 at 22:26, Rebecca Cran wrote: > > Reviewed-by: Rebecca Cran > Merged as #5183 Thanks all > > On 12/20/2023 12:31 PM, Jake Garver wrote: > > In the R_AARCH64_ADR_GOT_PAGE case on AARCH64, we may encounter an ADR > > instead of an ADRP when the toolchain is working around

Re: [edk2-devel] [PATCH v2] BaseTools/GenFw: Correct offset when relocating an ADR

2023-12-20 Thread Rebecca Cran
Reviewed-by: Rebecca Cran On 12/20/2023 12:31 PM, Jake Garver wrote: In the R_AARCH64_ADR_GOT_PAGE case on AARCH64, we may encounter an ADR instead of an ADRP when the toolchain is working around Cortex-A53 erratum #843419. If that's the case, be sure to calculate the offset appropriately.

[edk2-devel] [PATCH v2] BaseTools/GenFw: Correct offset when relocating an ADR

2023-12-20 Thread Jake Garver via groups.io
In the R_AARCH64_ADR_GOT_PAGE case on AARCH64, we may encounter an ADR instead of an ADRP when the toolchain is working around Cortex-A53 erratum #843419. If that's the case, be sure to calculate the offset appropriately. This resolves an issue experienced when building a StandaloneMm image with