audk/BaseTools/Scripts
Ard Biesheuvel 64a910f3da BaseTools: AArch64: use explicit linker scripts
Instead of relying on the builtin linker script of GNU ld, which
may vary based on binutils version (which is not tightly coupled to
the GCC version) and linker command line options, introduce a linker
script for AArch64 to be used by all GCC/binutils versions.

The script is laid out such that two ELF sections .text and .data are
created that map onto the PE/COFF with the same names. By aligning
.data to the minimum alignment of .text, and by not adding any
additional padding -which is what LD's builtin linker script does- the
relative offset between .text and .data is retained after the PE/COFF
conversion. This should prevent problems with debuggers and other
tooling that are ELF based.

Also provided is an overlay linker script that increases the alignment
of .text and .data to 64 KB. This is intended for DXE_RUNTIME_DRIVER
modules, to make them compatible with the newly introduced
Properties Table feature.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17824 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-06 15:57:50 +00:00
..
ConvertMasmToNasm.py BaseTools: Add ConvertMasmToNasm.py script 2014-10-31 19:55:15 +00:00
SetVisualStudio.bat Setting the svn property, svn:executable on the new scripts. 2014-08-21 17:20:55 +00:00
ShowEnvironment.bat Setting the svn property, svn:executable on the new scripts. 2014-08-21 17:20:55 +00:00
UpdateBuildVersions.py 1. Update UpdateBuildVersion.py; 2015-02-06 03:40:27 +00:00
gcc-4K-align-ld-script There needs to be a space between the output section name and the colon, i.e., 2015-07-01 01:04:28 +00:00
gcc-aarch64-64K-align-ld-script BaseTools: AArch64: use explicit linker scripts 2015-07-06 15:57:50 +00:00
gcc-aarch64-ld-script BaseTools: AArch64: use explicit linker scripts 2015-07-06 15:57:50 +00:00
gcc4.4-ld-script Sync BaseTool trunk (version r2599) into EDKII BaseTools. 2013-08-23 02:18:16 +00:00
gcc4.9-ld-script BaseTools: Add GCC49 toolchain; align data sections to 0x40 2014-07-28 17:37:10 +00:00