audk/BaseTools/Scripts
Ard Biesheuvel 233bd25b00 BaseTools GCC: move AutoGen.obj contents to .text section
All AutoGen.obj files consist of global GUID definitions, fixed
and patchable PCDs and other data that is essentially read-only at
runtime but has not been declared as such for various reasons.

By moving these contents to .text we achieve two things:
- global GUIDs and other data items which must be constant for correct
  program operation can no longer be modified, for instance, when
  running a DXE_RUNTIME_MODULE binary under the OS with the Properties
  Table feature for memory protection enabled;
- the .data section becomes smaller, and may be dropped completely for
  many XIP modules, which reduces wasted FV space if the PE/COFF section
  alignment is large.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Liming Gao <liming.gao@intel.com>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18137 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-03 08:22:50 +00:00
..
ConvertMasmToNasm.py BaseTools: Add ConvertMasmToNasm.py script 2014-10-31 19:55:15 +00:00
GccBase.lds BaseTools GCC: move AutoGen.obj contents to .text section 2015-08-03 08:22:50 +00:00
SetVisualStudio.bat Setting the svn property, svn:executable on the new scripts. 2014-08-21 17:20:55 +00:00
ShowEnvironment.bat Setting the svn property, svn:executable on the new scripts. 2014-08-21 17:20:55 +00:00
UpdateBuildVersions.py 1. Update UpdateBuildVersion.py; 2015-02-06 03:40:27 +00:00
gcc-4K-align-ld-script BaseTools IA32/X64: get header size and alignment from ld commandline 2015-08-03 08:22:16 +00:00
gcc-aarch64-64K-align-ld-script BaseTools: AArch64: use explicit linker scripts 2015-07-06 15:57:50 +00:00
gcc-aarch64-ld-script BaseTools: AArch64: use explicit linker scripts 2015-07-06 15:57:50 +00:00
gcc4.4-ld-script BaseTools IA32/X64: get header size and alignment from ld commandline 2015-08-03 08:22:16 +00:00
gcc4.9-ld-script BaseTools IA32/X64: get header size and alignment from ld commandline 2015-08-03 08:22:16 +00:00