diff options
author | Richard Ball <richard.ball@arm.com> | 2024-02-05 14:03:05 +0000 |
---|---|---|
committer | Richard Ball <richard.ball@arm.com> | 2024-02-05 14:04:12 +0000 |
commit | 23f1b496aa6c7015a2b986aa183041c722104779 (patch) | |
tree | 32de2d80bbdcdfed7b7972b61fdb45ef6b1cc742 /libitm | |
parent | e5f50e63a83d03d1db6be1578070041ac7f31c37 (diff) | |
download | gcc-23f1b496aa6c7015a2b986aa183041c722104779.zip gcc-23f1b496aa6c7015a2b986aa183041c722104779.tar.gz gcc-23f1b496aa6c7015a2b986aa183041c722104779.tar.bz2 |
arm: Fix missing bti instruction for virtual thunks
Adds missing bti instruction at the beginning of a virtual
thunk, when bti is enabled.
gcc/ChangeLog:
* config/arm/arm.cc (arm_output_mi_thunk): Emit
insn for bti_c when bti is enabled.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp: Add v8_1_m_main_pacbti.
* g++.target/arm/bti_thunk.C: New test.
Diffstat (limited to 'libitm')
0 files changed, 0 insertions, 0 deletions