]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Conf/tools_def.template
BaseTools IA32/X64: get header size and alignment from ld commandline
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 3 Aug 2015 08:22:16 +0000 (08:22 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 3 Aug 2015 08:22:16 +0000 (08:22 +0000)
commitc28a4ab663ec3019bef5316ec569c0791e40e924
tree36cf9022d1b8b8ecf54d1d282e10cc1d395507ff
parent25e63063e3a2817fd56fd47fffb11173472a15de
BaseTools IA32/X64: get header size and alignment from ld commandline

Instead of hardcoding the values for the PE/COFF header size and the
section alignment, set them on the linker command line. This factors
out these values from the various linker scripts, which will allow us
to unify them in a subsequent patch.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18134 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Conf/tools_def.template
BaseTools/Scripts/gcc-4K-align-ld-script
BaseTools/Scripts/gcc4.4-ld-script
BaseTools/Scripts/gcc4.9-ld-script