summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/EccMain.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2025-01-28 10:34:01 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-02-02 09:20:53 +0000
commitf2b42c83dd0086dce484eae47b87b4351426746e (patch)
tree957d61faf8a57ac3c1a62906e8126cf76fcda5ad /BaseTools/Source/Python/Ecc/EccMain.py
parente5d95c786b6f25d81d754cb1d1b439a8b5c2340c (diff)
downloadedk2-f2b42c83dd0086dce484eae47b87b4351426746e.tar.gz
edk2-f2b42c83dd0086dce484eae47b87b4351426746e.tar.bz2
edk2-f2b42c83dd0086dce484eae47b87b4351426746e.zip
BaseTools/Scripts/GccBase.lds: Use separate R-W and RW- ELF segments
To prevent the ELF linkers from complaining about emitted ELF segments that require both writable and executable permissions, define two separate R-X and RW- ELF segments, and emit the output sections explicitly into those segments as appropriate. Note that this has no bearing on the PE image, and using a single RW- segment would probably be fine too. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/EccMain.py')
0 files changed, 0 insertions, 0 deletions