Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
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
AppPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
ArmPkg ArmPkg/ArmLib: Fixed build after recent BaseTools changes 2015-06-15 15:31:29 +00:00
ArmPlatformPkg ArmPlatformPkg: Use the merged Variable driver 2015-07-01 03:10:01 +00:00
ArmVirtPkg Revert tree to r17801 2015-07-02 07:23:33 +00:00
BaseTools BaseTools: AArch64: use explicit linker scripts 2015-07-06 15:57:50 +00:00
BeagleBoardPkg ArmPlaformPkg: Replaced gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut 2015-05-13 18:25:47 +00:00
Conf EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
CorebootModulePkg CorebootModulePkg: Get power management register addresses. 2015-07-01 09:41:58 +00:00
CorebootPayloadPkg CorebootPayloadPkg: Fix "reset -s" issue. 2015-06-25 16:02:16 +00:00
CryptoPkg CryptoPkg: Fix the dereferenced pointer issue 2015-06-30 03:27:23 +00:00
DuetPkg DuetPkg: Use the new PCDs defined in MdePkg. 2015-05-06 03:26:49 +00:00
EdkCompatibilityPkg EdkCompatibilityPkg SmmBaseHelper: Unregister profile image correctly. 2015-06-09 09:42:15 +00:00
EdkShellBinPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EdkShellPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmbeddedPkg EmbeddedPkg/AcpiLib: Introduced LocateAndInstallAcpiFromFvConditional() 2015-05-29 14:39:41 +00:00
EmulatorPkg EmulatorPkg: Add TpmMeasurementLib and AuthVariableLib library mapping 2015-07-01 03:06:09 +00:00
FatBinPkg FatBinPkg: Update ARM and AArch64 binaries 2015-02-27 17:27:42 +00:00
IntelFrameworkModulePkg Revert tree to r17801 2015-07-02 07:23:33 +00:00
IntelFrameworkPkg IntelFrameworkPkg FrameworkUefiLib: Use safe string functions 2015-06-30 06:28:57 +00:00
IntelFspPkg IntelFspPkg BaseFspDebugLibSerialPort: Use safe string functions 2015-06-30 06:30:20 +00:00
IntelFspWrapperPkg IntelFspWrapperPkg: Update PeiFspHobProcessLibSample to consume PI CapsulePpi 2015-05-08 07:44:30 +00:00
MdeModulePkg MdeModulePkg: Refine code to make it more readable. 2015-07-03 01:39:06 +00:00
MdePkg MdePkg: Fix bug in CatVSPrint introduced by r17742. 2015-07-06 06:34:47 +00:00
NetworkPkg NetworkPkg: Remove unused variables from IpSecDxe to fix GCC build. 2015-07-01 03:35:32 +00:00
Nt32Pkg Nt32Pkg: Use the merged Variable driver 2015-07-01 03:09:00 +00:00
Omap35xxPkg */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
OptionRomPkg Add IPV6 support from UNDI 2015-04-30 02:57:10 +00:00
OvmfPkg Revert tree to r17801 2015-07-02 07:23:33 +00:00
PcAtChipsetPkg PcAtChipsetPkg: Fix PCD expression build failure 2015-06-12 01:43:46 +00:00
PerformancePkg PerformancePkg Dp_App: Resolve buffer size mismatch 2015-06-30 06:31:28 +00:00
SecurityPkg SecurityPkg: Calculate the length of the String. 2015-07-03 07:27:31 +00:00
ShellBinPkg ShellBinPkg: Ia32/X64 Shell binary update. 2015-06-12 11:20:53 +00:00
ShellPkg ShellPkg: Fix bug introduced by r17730. 2015-07-04 02:26:54 +00:00
SourceLevelDebugPkg SourceLevelDebugPkg: Fix PEI debug timer regression 2015-07-03 02:29:01 +00:00
StdLib */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
StdLibPrivateInternalFiles */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
UefiCpuPkg UefiCpuPkg S3Resume2Pei: Use safe string functions 2015-06-30 06:30:44 +00:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
Vlv2DeviceRefCodePkg Fixed potential security issue introduced by SmramCpuNvs variable. 2015-06-23 07:22:44 +00:00
Vlv2TbltDevicePkg Fixed a couple of typos of 'Configuration' ('Congfiguration') in Vlv2TbltDevicePkg. 2015-07-01 08:45:46 +00:00
.gitignore EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
BuildNotes2.txt Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
Edk2Setup.bat Edk2: Update Edk2Setup.bat 2015-06-16 07:23:45 +00:00
Maintainers.txt Maintainers.txt: Added co-maintainer for MdePkg/IntelFrameworkPkg/ShellPkg 2015-07-03 01:32:04 +00:00
edksetup.bat Update edksetup.bat to support Microsoft Visual Studio 2013 when building the Nt32Pkg emulation platform (enabled using the --nt32 flag). 2014-10-30 17:09:25 +00:00
edksetup.sh edksetup.sh: Ensure that WORKSPACE points to the top of an edk2 checkout 2014-07-28 17:37:40 +00:00