Skip to content
Snippets Groups Projects
Commit 23f1b496 authored by Richard Ball's avatar Richard Ball
Browse files

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.
parent e5f50e63
No related branches found
No related tags found
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