]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/GenFw: align RVA of debug
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 11 Sep 2015 07:07:06 +0000 (07:07 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Fri, 11 Sep 2015 07:07:06 +0000 (07:07 +0000)
commit4f7d5c6792b67ed7b4fd9f8f5f64649f1f41bd95
treebb78f1e11aef479dbfa2ba849d7734f2e6609762
parent5abc2a70da4fa918186421cd8cae3915c92b9ff4
BaseTools/GenFw: align RVA of debug

SVN commit r18077 ("BaseTools/GenFw: move .debug contents to .data to
save space") removed the separate .debug section after moving its
contents into .text or .data. However, this change does not take into
account that some of these contents need to appear at a 32-bit aligned
offset. So align the debug data RVA to 32 bits.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18443 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Source/C/GenFw/Elf32Convert.c
BaseTools/Source/C/GenFw/Elf64Convert.c