https://sourceware.org/bugzilla/show_bug.cgi?id=30957
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The binutils-2_41-branch branch has been updated by Szabolcs Nagy <n...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b9de994244a85f6d87564a798e00d5acefa75b7 commit 8b9de994244a85f6d87564a798e00d5acefa75b7 Author: Szabolcs Nagy <szabolcs.n...@arm.com> Date: Fri Oct 13 17:51:15 2023 +0100 bfd: aarch64: Fix BTI stub optimization PR30957 The instruction was looked up in the wrong input file (file of branch source instead of branch target) when optimizing away BTI stubs in commit 5834f36d93cabf1a8bcc7dd7654141aed3d296bc bfd: aarch64: Optimize BTI stubs PR30076 This can cause adding BTI stubs when they are not necessary or removing them when they are (the latter is a correctness issue but it is very unlikely in practice). Fixes bug 30957. (cherry picked from commit 98b94ebb3ffe715fddde762bb3ee7fd6d972f233) -- You are receiving this mail because: You are on the CC list for the bug.