mirror_edk2/BaseTools/Source/Python/GenFds
Ard Biesheuvel 8ef653aa5a BaseTools/GenFds: permit stripped MM_CORE_STANDALONE binaries
The standalone MM core is executed in place, and resides in a
separate execution context which may be space constrained.
Since code and data may be mapped with different attributes for
security reasons, the PE/COFF binary could have a section
alignment of 4 KB.

This means that any relocation data is not only useless, but it
will also take up 4 KB of valuable space.

So add support for the RELOCS_STRIPPED attribute on FFS files of
this type, so that we can get rid of the .reloc section altogether.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-01-04 09:42:17 +01:00
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
AprioriSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
Capsule.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
CapsuleData.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
ComponentStatement.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
CompressSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
DataSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
DepexSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
EfiSection.py BaseTools/GenFds: permit stripped MM_CORE_STANDALONE binaries 2019-01-04 09:42:17 +01:00
Fd.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
FdfParser.py BaseTools/GenFds: permit stripped MM_CORE_STANDALONE binaries 2019-01-04 09:42:17 +01:00
Ffs.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
FfsFileStatement.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
FfsInfStatement.py BaseTools/GenFds: permit stripped MM_CORE_STANDALONE binaries 2019-01-04 09:42:17 +01:00
Fv.py Basetools/GenFds: refactor class FV 2018-10-25 20:15:32 +08:00
FvImageSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
GenFds.py BaseTools: Reset FdsGlobalVariable 2018-12-25 10:40:10 +08:00
GenFdsGlobalVariable.py BaseTools: create and use a standard shared variable for '*' 2018-12-06 17:11:24 +08:00
GuidSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
OptionRom.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
OptRomFileStatement.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
OptRomInfStatement.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Region.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
Rule.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
RuleComplexFile.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
RuleSimpleFile.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Section.py BaseTools: create and use a standard shared variable for '*' 2018-12-06 17:11:24 +08:00
UiSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
VerSection.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00
Vtf.py BaseTools/GenFds: cleanup GenFds 2018-10-25 20:14:49 +08:00