Oops, left off the contribution agreement line, trying again

Dear ArmPkg maintainers (and later BaseTools maintainer),

This is a fix for debugger correlation of global variables for AArch64 built on 
GCC.

Before this change looking at global variables with a debugger showed bogus 
memory locations. This is because the offset of the .data section in the ELF 
file did not reflect where it was placed in the PE-COFF (.efi) output.

This change passes a linker control script so that the data section is packed 
next to .text so the ELF accurately reflects the relationship between the 
sections when converted to PE-COFF by GenFw.

I have tested this with the Lauterbach debugger.  I don't know how well it will 
work with other debuggers and debug scripts.

If you would rather view the change as a github pull request:
https://github.com/tianocore/edk2/pull/12

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eugene Cohen <eug...@hp.com>


Attachment: 0001-BaseTools-for-AArch64-GCC-Ensure-that-the-correlatio.patch
Description: 0001-BaseTools-for-AArch64-GCC-Ensure-that-the-correlatio.patch

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to