bfd: aarch64: Fix leaks in case of BTI stub reuse
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 17 Oct 2023 13:13:00 +0000 (14:13 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 9 Nov 2023 14:44:37 +0000 (14:44 +0000)
commita74ac8c41971682f687a8a5ce94f36a8054ecd0e
tree791c79ac071793777416ec39063d37cb1d632dcf
parentd3a8dfdef0797244d0f2f3a8ec5db8f1dcf1337b
bfd: aarch64: Fix leaks in case of BTI stub reuse

BTI stub parameters were recomputed even if those were already set up.
This is unnecessary work and leaks the symbol name that is allocated
for the stub.
bfd/elfnn-aarch64.c