audk/BaseTools/Scripts
Ard Biesheuvel f5d585b46b BaseTools/Scripts/ClangBase.lds: Move .entry into .text section
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>
2025-02-02 09:20:53 +00:00
..
PackageDocumentTools BaseTools: Fix various typos 2019-07-08 08:59:29 +08:00
BinToPcd.py BaseTools/Scripts/BinToPcd.py: Update regex strings to use raw strings. 2024-08-01 11:04:09 +00:00
ClangBase.lds BaseTools/Scripts/ClangBase.lds: Move .entry into .text section 2025-02-02 09:20:53 +00:00
ConvertFceToStructurePcd.py BaseTools: fix spelling error 2024-12-11 09:01:03 +08:00
ConvertMasmToNasm.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ConvertUni.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DetectNotUsedItem.py BaseTools:Add DetectNotUsedItem.py to Edk2\BaseTools\Scripts 2019-06-25 09:23:48 +08:00
FormatDosFiles.py BaseTools:"--exclude" don't apply if parameter ends with separator 2019-09-27 08:17:55 +08:00
GccBase.lds BaseTools: make sure the got is empty 2023-06-01 10:53:35 +00:00
GetMaintainer.py BaseTools/GetMaintainer.py: Add GitHub username argument 2024-07-25 02:28:49 +00:00
GetUtcDateTime.py BaseTools/GetUtcDateTime.py: Python 3.12 support 2024-04-26 03:01:55 +00:00
MemoryProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PatchCheck.py BaseTools: Remove Pip BaseTools 2024-09-10 00:41:53 +00:00
RunMakefile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RunMakefileSample.mak BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
SetVisualStudio.bat BaseTools: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
SetupGit.py BaseTools/SetupGit.py: Fix invalid choice 'edk2-test' 2024-10-09 10:53:19 +00:00
ShowEnvironment.bat BaseTools: Remove VS2008-VS2013 remnants 2023-05-05 11:41:35 +00:00
SmiHandlerProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UpdateBuildVersions.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
efi_debugging.py BaseTools: efi_debugging.py: Add debugger agnostic dbg Python Classes 2022-04-09 05:13:56 +00:00
efi_gdb.py BaseTools: Scripts/efi_gdb.py: Add gdb EFI commands and pretty Print 2022-04-09 05:13:56 +00:00
efi_lldb.py BaseTools: Scripts/efi_lldb.py: Add lldb EFI commands and pretty Print 2022-04-09 05:13:56 +00:00