mirror of https://github.com/acidanthera/audk.git
The GccBase.lds and ClangBase.lds ELF linker scripts have been laid out very carefully to ensure that the memory mappings of .text and .data are such that they can be preserved in the PE/COFF memory image. This removes the need to update any place-relative ELF relocations when generating the PE/COFF image, making its job much easier, and potentially allowing it to disregard static ELF relocations altogether, and rely solely on dynamic ELF relocations. Adding an arbitrary .entry section before .text breaks those assumptions, so instead of emitting it as a separate section, move its payload to the start of .text. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> |
||
---|---|---|
.. | ||
PackageDocumentTools | ||
BinToPcd.py | ||
ClangBase.lds | ||
ConvertFceToStructurePcd.py | ||
ConvertMasmToNasm.py | ||
ConvertUni.py | ||
DetectNotUsedItem.py | ||
FormatDosFiles.py | ||
GccBase.lds | ||
GetMaintainer.py | ||
GetUtcDateTime.py | ||
MemoryProfileSymbolGen.py | ||
PatchCheck.py | ||
RunMakefile.py | ||
RunMakefileSample.mak | ||
SetVisualStudio.bat | ||
SetupGit.py | ||
ShowEnvironment.bat | ||
SmiHandlerProfileSymbolGen.py | ||
UpdateBuildVersions.py | ||
efi_debugging.py | ||
efi_gdb.py | ||
efi_lldb.py |