From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web11.10191.1622621530600043949 for ; Wed, 02 Jun 2021 01:12:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: ray.ni@intel.com) IronPort-SDR: z9Pb46kcnm1yRaNHqJbi8asigYjW7vCJXbuHp++wIlyw+3Pog3bMko1zwqfPqiH7gthv5EnBWE e6GYAZFgLddw== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="267609201" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="267609201" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:12:08 -0700 IronPort-SDR: oR6mcodgkzaHq4rxpc4V4FTlsBdx2az0Oo4vqSol19Zpms3WrrHsgNLjyQ/GSXJ768ehEXNXMl Z921zd57lA7g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479617423" Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2021 01:12:07 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Subject: [PATCH v2 0/6] Add CLANGDWARF toolchain for universal payload needs Date: Wed, 2 Jun 2021 16:11:39 +0800 Message-Id: <20210602081145.265-1-ray.ni@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Universal payload requires its format in ELF format while today's EDKII doesn't contain a cross OS toolchain that generates ELF images. The patch set is based on Liming's work in year 2019 and some very minor modifications are made: 1. Update toolchain name from CLANG8ELF to CLANGDWARF. 2. Update link script to keep dynamic section. v2: update Liming's mail address. Liming Gao (4): BaseTools: Add ClangBase.lds for CLANG8 tool chain with max-page-size BaseTools GenFw: Support CLANG8ELF with conversion ELF to PE/COFF image BaseTools: Update build_rule to skip CLANG resource section generation BaseTools: Add new CLANG8ELF tool chain for new LLVM/CLANG8 Ray Ni (2): BaseTools: Update ClangBase.lds to keep dynamic section BaseTools: Change CLANG8ELF to CLANGDWARF BaseTools/Conf/build_rule.template | 5 +- BaseTools/Conf/tools_def.template | 109 +++++++++++++++++++++++- BaseTools/Scripts/ClangBase.lds | 78 +++++++++++++++++ BaseTools/Source/C/GenFw/Elf32Convert.c | 12 +-- BaseTools/Source/C/GenFw/Elf64Convert.c | 5 +- 5 files changed, 192 insertions(+), 17 deletions(-) create mode 100644 BaseTools/Scripts/ClangBase.lds -- 2.31.1.windows.1