diff options
author | Ross Burton <ross@burtonini.com> | 2021-05-20 18:15:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-08 12:12:41 +0100 |
commit | 84e6064cde02b463066d7b63fcf8baf392491327 (patch) | |
tree | d6a436a6aef4fd3bf272aacac180ad9fc610223d /meta/recipes-kernel/lttng | |
parent | 0478d9b04d6a6d10e439116b23b641a1e2553e26 (diff) | |
download | openembedded-core-contrib-84e6064cde02b463066d7b63fcf8baf392491327.tar.gz |
gcc: enable branch protection by standard
Pass --enable-standard-branch-protection. This is an aarch64-specific
option (currently) which does nothing on other targets. On aarch64 this
generates code uses BTI/PAC instructions to mitigate Return Orientated
Programming attacks. This approach is backwards compatible and the code
size/performance impact is typically negliable.
More details can be found at
https://events.static.linuxfound.org/sites/events/files/slides/slides_23.pdf
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
0 files changed, 0 insertions, 0 deletions