Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sim/cmake: add .scattered_array section inside .text section
the ".scattered_array" section is required by optee_os, optee_os will uniformly place all the functions that need to be called during the system startup phase into the `.scattered_array` section. In order to enable optee_os to start up normally, we need to addd this section to the linker script explicitly, otherwise the function that put into `.scattered_array` section will be optimized out during link procedure. Signed-off-by: guoshichao <guoshichao@xiaomi.com>
- Loading branch information