feat(app): add code to parse app bin headers
Add code in lib/el0_app that is able to iterate over the attached app
bins, and save the header addresses.
Modify the boot code so that the parsing function in lib/el0_app is
called
Also update the build system so that the bin gnerating/bundling scripts
are called on the apps
Change-Id: I97c93edc58bd0fea25770f1d2001c1b2742e1f13
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/toolchains/common.cmake b/toolchains/common.cmake
index 1bd2b91..c3eb449 100644
--- a/toolchains/common.cmake
+++ b/toolchains/common.cmake
@@ -17,6 +17,7 @@
string(APPEND CMAKE_${language}_FLAGS_INIT "-fno-delete-null-pointer-checks ")
string(APPEND CMAKE_${language}_FLAGS_INIT "-Wall -Werror -Wstrict-overflow ")
string(APPEND CMAKE_${language}_FLAGS_INIT "-Wextra -Wno-implicit-fallthrough ")
+ string(APPEND CMAKE_${language}_FLAGS_INIT "-Wno-type-limits ")
string(APPEND CMAKE_${language}_FLAGS_INIT "-gdwarf-4 ")
string(APPEND CMAKE_${language}_FLAGS_INIT "-D_FORTIFY_SOURCE=2 ")
string(APPEND CMAKE_${language}_FLAGS_DEBUG_INIT "-Og -Wnull-dereference ")