]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools GCC: move PECOFF_HEADER_SIZE definition before LD script
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 9 Nov 2015 08:39:28 +0000 (08:39 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Mon, 9 Nov 2015 08:39:28 +0000 (08:39 +0000)
commit67b3c0f95886a478c4fd3d6f48489dbc7aee9818
tree18582c12c952afc360e54e5f6a663717e9fccf08
parent3ab1434a6ede4e006ef0b001108c354f4fa6d91e
BaseTools GCC: move PECOFF_HEADER_SIZE definition before LD script

Older versions of binutils need all symbols to be defined when consuming
the linker script passed via the command line. So move the definition
'--defsym=PECOFF_HEADER_SIZE=...' before the '--script=...' command line
argument.

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@18747 6f19259b-4bc3-4df7-8a09-765794883524
BaseTools/Conf/tools_def.template