Skip to content
Commit 889fcc4c authored by Tamas Zsoldos's avatar Tamas Zsoldos
Browse files

[BTI] Update alignment and padding.

guarded_functions and hint_functions have to start at page aligned
addresses and take up at least a page, because mprotect is used to
mark them guarded.

From guarder_functions, the padding was missing. When the code
following it was compiled without BTI, it too ended up guarded,
causing crashes.

The alignment in basic_function.S is not needed. The linker will align
it as necessary.

All the alignments are increased to 16K.

Change-Id: I376889758fe840bac89b4cb205a982e441e6cd6a
parent e8967ddd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment