mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
aarch64: Add AARCH64_VALID_JUMP_CALL_TARGET
We currently don't have any cases where this is needed, but include it for completeness and clarity. These macros for BTI were added in08b4716a9e. A later comment in this file, added in248986a0db, referenced the macro AARCH64_VALID_JUMP_CALL_TARGET which never was added here before.
This commit is contained in:
@@ -207,10 +207,12 @@ DISABLE_SME2
|
||||
*/
|
||||
#if defined(__ARM_FEATURE_BTI_DEFAULT) && (__ARM_FEATURE_BTI_DEFAULT == 1)
|
||||
# define GNU_PROPERTY_AARCH64_BTI (1 << 0) // Has BTI
|
||||
# define AARCH64_VALID_CALL_TARGET hint #34 // BTI 'c'
|
||||
# define AARCH64_VALID_JUMP_TARGET hint #38 // BTI 'j'
|
||||
# define AARCH64_VALID_JUMP_CALL_TARGET hint #38 // BTI 'jc'
|
||||
# define AARCH64_VALID_CALL_TARGET hint #34 // BTI 'c'
|
||||
# define AARCH64_VALID_JUMP_TARGET hint #38 // BTI 'j'
|
||||
#else
|
||||
# define GNU_PROPERTY_AARCH64_BTI 0 // No BTI
|
||||
# define AARCH64_VALID_JUMP_CALL_TARGET
|
||||
# define AARCH64_VALID_CALL_TARGET
|
||||
# define AARCH64_VALID_JUMP_TARGET
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user