Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libunwind/src/assembly.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | #define PPC64_OPD2 SEPARATOR \ | ||||
.quad 0 SEPARATOR \ | .quad 0 SEPARATOR \ | ||||
.text SEPARATOR \ | .text SEPARATOR \ | ||||
.Lfunc_begin0: | .Lfunc_begin0: | ||||
#else | #else | ||||
#define PPC64_OPD1 | #define PPC64_OPD1 | ||||
#define PPC64_OPD2 | #define PPC64_OPD2 | ||||
#endif | #endif | ||||
#if defined(__ARM_FEATURE_BTI_DEFAULT) | #if defined(__aarch64__) && defined(__ARM_FEATURE_BTI_DEFAULT) | ||||
.pushsection ".note.gnu.property", "a" SEPARATOR \ | .pushsection ".note.gnu.property", "a" SEPARATOR \ | ||||
.balign 8 SEPARATOR \ | .balign 8 SEPARATOR \ | ||||
.long 4 SEPARATOR \ | .long 4 SEPARATOR \ | ||||
.long 0x10 SEPARATOR \ | .long 0x10 SEPARATOR \ | ||||
.long 0x5 SEPARATOR \ | .long 0x5 SEPARATOR \ | ||||
.asciz "GNU" SEPARATOR \ | .asciz "GNU" SEPARATOR \ | ||||
.long 0xc0000000 SEPARATOR /* GNU_PROPERTY_AARCH64_FEATURE_1_AND */ \ | .long 0xc0000000 SEPARATOR /* GNU_PROPERTY_AARCH64_FEATURE_1_AND */ \ | ||||
.long 4 SEPARATOR \ | .long 4 SEPARATOR \ | ||||
.long 3 SEPARATOR /* GNU_PROPERTY_AARCH64_FEATURE_1_BTI AND */ \ | .long 3 SEPARATOR /* GNU_PROPERTY_AARCH64_FEATURE_1_BTI AND */ \ | ||||
/* GNU_PROPERTY_AARCH64_FEATURE_1_PAC */ \ | /* GNU_PROPERTY_AARCH64_FEATURE_1_PAC */ \ | ||||
.long 0 SEPARATOR \ | .long 0 SEPARATOR \ | ||||
.popsection SEPARATOR | .popsection SEPARATOR | ||||
#define AARCH64_BTI bti c | #define AARCH64_BTI bti c | ||||
#else | #else | ||||
#define AARCH64_BTI | #define AARCH64_BTI | ||||
#endif | #endif | ||||
#if !defined(__aarch64__) | |||||
#ifdef __ARM_FEATURE_PAC_DEFAULT | |||||
.eabi_attribute Tag_PAC_extension, 2 | |||||
.eabi_attribute Tag_PACRET_use, 1 | |||||
#endif | |||||
#ifdef __ARM_FEATURE_BTI_DEFAULT | |||||
.eabi_attribute Tag_BTI_extension, 1 | |||||
.eabi_attribute Tag_BTI_use, 1 | |||||
#endif | |||||
#endif | |||||
#define GLUE2(a, b) a ## b | #define GLUE2(a, b) a ## b | ||||
#define GLUE(a, b) GLUE2(a, b) | #define GLUE(a, b) GLUE2(a, b) | ||||
#define SYMBOL_NAME(name) GLUE(__USER_LABEL_PREFIX__, name) | #define SYMBOL_NAME(name) GLUE(__USER_LABEL_PREFIX__, name) | ||||
#if defined(__APPLE__) | #if defined(__APPLE__) | ||||
#define SYMBOL_IS_FUNC(name) | #define SYMBOL_IS_FUNC(name) | ||||
#define HIDDEN_SYMBOL(name) .private_extern name | #define HIDDEN_SYMBOL(name) .private_extern name | ||||
▲ Show 20 Lines • Show All 121 Lines • Show Last 20 Lines |