diff options
author | Andre Kempe <Andre.Kempe@arm.com> | 2022-04-25 08:33:40 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-04-26 10:26:49 +0300 |
commit | 861285c146b267187af20a63c8541c4e5a4d871e (patch) | |
tree | 2772bd796b5417190a1aa73017de06ef6a861932 | |
parent | 08ac8bda381b39795d4e167accbbc57e8084c0e4 (diff) | |
download | ffmpeg-861285c146b267187af20a63c8541c4e5a4d871e.tar.gz |
arm64: Fix wrong BTI landing pad
This patch fixes a wrong type of BTI landing pad when branching to
functions instantiated via the fft*_neon macro.
Although the previously employed paciasp instruction serves as a landing
pad, for the ways that this function is invoked it is the wrong type, resulting
in an unexpected termination of the running process.
Signed-off-by: André Kempe <andre.kempe@arm.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavcodec/aarch64/fft_neon.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aarch64/fft_neon.S b/libavcodec/aarch64/fft_neon.S index dd5f55eb87..9ff3f9c526 100644 --- a/libavcodec/aarch64/fft_neon.S +++ b/libavcodec/aarch64/fft_neon.S @@ -340,6 +340,7 @@ endfunc .macro def_fft n, n2, n4 function fft\n\()_neon, align=6 + AARCH64_VALID_JUMP_TARGET AARCH64_SIGN_LINK_REGISTER sub sp, sp, #16 stp x28, x30, [sp] |