]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Source/C: Remove CPU architecture assumptions
authorMichael D Kinney <michael.d.kinney@intel.com>
Wed, 25 Nov 2020 00:25:05 +0000 (16:25 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 15 Apr 2021 15:58:44 +0000 (15:58 +0000)
commit251f9b3906370f9b539f3d364c3d42dcc7173e86
treea8f5108934de70cb6adc3cec65038d6b2bfe4a51
parentd0bf83e1ccabaf86169d664385eab5aed1c2a1f2
BaseTools/Source/C: Remove CPU architecture assumptions

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3308

The EDK II Build Specifications do not restrict the set of
CPU architectures that can be supported.  Remove places in
the EDK II that assume a fixed set of CPU architectures.

Remove build breaks in the following tools when a check against
a fixed set of CPU architectures is made.

* GenFw

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Abner Chang <abner.chang@hpe.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/C/GenFw/Elf32Convert.c
BaseTools/Source/C/GenFw/Elf64Convert.c