Introduce BTI support in ROMLIB
When TF-A is compiled with BTI enabled, the branches in the ROMLIB
jumptable must be preceded by a "bti j" instruction.

Moreover, when the additional "bti" instruction is inserted, the
jumptable entries have a distance of 8 bytes between them instead of 4.
Hence, the wrappers are also modified accordinly.

If TF-A is compiled without BTI enabled, the ROMLIB jumptable and
wrappers are generated as before.

Change-Id: Iaa59897668f8e59888d39046233300c2241d8de7
Signed-off-by: John Tsichritzis <john.tsichritzis@arm.com>
1 parent ced1711 commit bbb24f611c92ada192ed7a6825da8b477fd6bcfb
@John Tsichritzis John Tsichritzis authored on 21 May 2019
Showing 4 changed files
View
Makefile
View
lib/romlib/Makefile
View
lib/romlib/gentbl.sh
View
lib/romlib/genwrappers.sh