ddb3fdb BaseTools GenFw: Fix regression issue to convert the image to ACPI data

2 files Authored by Liming Gao 3 years ago, Committed by mergify[bot] 3 years ago,
    BaseTools GenFw: Fix regression issue to convert the image to ACPI data
    
    Commit c6b872c updates GenFw base code attribute to find .text section.
    With GCC49 tool chain, aslc file is compiled into elf image.
    But, its text section has no CODE attribute. So, it can't be detected
    by new GenFw tool.For this type file. its text section is not required.
    Its data section will be converted to acpi table.
    
    This fix is to remove assert check when the generated image is ACPI data.
    
    Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
    Cc: Ray Ni <ray.ni@intel.com>
    Cc: Leif Lindholm <leif@nuviainc.com>
    Cc: Bob Feng <bob.c.feng@intel.com>
    Reviewed-by: Bob Feng <bob.c.feng@intel.com>
    Tested-by: Leif Lindholm <leif@nuviainc.com>