aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strscpy.c
diff options
context:
space:
mode:
authorJiaxun Yang <[email protected]>2023-02-28 19:34:59 +0000
committerThomas Bogendoerfer <[email protected]>2023-02-28 23:09:49 +0100
commit1a2c73f4834dd79e4f2c590ac75358fb44137650 (patch)
tree6fbb8f787588258eaecc2e3852f33477b6643ee3 /lib/test_fortify/write_overflow-strscpy.c
parent70f864d1084734f8816a247c24e6876d2dfb5f89 (diff)
MIPS: Workaround clang inline compat branch issue
Clang is unable to handle the situation that a chunk of inline assembly ends with a compat branch instruction and then compiler generates another control transfer instruction immediately after this compat branch. The later instruction will end up in forbidden slot and cause exception. Workaround by add a option to control the use of compact branch. Currently it's selected by CC_IS_CLANG and hopefully we can change it to a version check in future if clang manages to fix it. Fix boot on boston board. Link: https://github.com/llvm/llvm-project/issues/61045 Signed-off-by: Jiaxun Yang <[email protected]> Acked-by: Nathan Chancellor <[email protected]> Acked-by: Nick Desaulniers <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions