This is for UEFI 2.5 properties table feature.

Runtime driver need have 4K aligned code/data section, but now the tool 
hardcode 32bytes.
For GCC, a ld script was added to generate 4K aligned ELF file, and if GenFw 
detected ELF was 4K aligned, the PE converted from this ELF should also be 4K 
aligned;
For others, updated link option to merge .data and .rdata

Yingke Liu (3):
  BaseTools: Updated tool_def to support 4K alignment.
  BaseTools: Update GenFw to support 4K alignment.
  BaseTools: Added GCC ld script to support 4K alignment.

 BaseTools/Conf/tools_def.template        | 128 +++++++++++++++----------------
 BaseTools/Scripts/gcc-4K-align-ld-script |  44 +++++++++++
 BaseTools/Source/C/GenFw/Elf32Convert.c  |   8 +-
 BaseTools/Source/C/GenFw/Elf64Convert.c  |   6 +-
 4 files changed, 119 insertions(+), 67 deletions(-)
 create mode 100644 BaseTools/Scripts/gcc-4K-align-ld-script

-- 
1.9.5.msysgit.0


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to