[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2022-08-17 Thread scott at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #2 from D Scott Phillips --- th(In reply to Andrew Pinski from comment #1) > Shouldn't the linker add the BTI inside the ___veneer instead? The bti instruction has to be placed at the target of the indirect branch (at the top of `fu

[Bug target/106671] New: aarch64: BTI instruction are not inserted for cross-section direct calls

2022-08-17 Thread scott at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 Bug ID: 106671 Summary: aarch64: BTI instruction are not inserted for cross-section direct calls Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: nor