On Sat, Jun 05, 2021 at 09:18:54 +0800, gaoliming wrote:
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.
Note - this does not only affect GCC49: it also affects at least GCC5 and CLANG38. This patch resolves the issue.
Signed-off-by: Liming Gao <gaoliming@...> Cc: Ray Ni <ray.ni@...> Cc: Leif Lindholm <leif@...> Cc: Bob Feng <bob.c.feng@...> --- This patch has been verified on GCC49 for AARCH64 platform.