File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,7 @@ jobs:
409
409
- name : ARM64
410
410
if : ${{ matrix.name == 'ARM64' }}
411
411
run : |
412
+ LDFLAGS="-static -z force-bti" MOREFLAGS="-mbranch-protection=standard" CC=$XCC QEMU_SYS=$XEMU make clean check
412
413
LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make clean check
413
414
- name : PPC
414
415
if : ${{ matrix.name == 'PPC' }}
Original file line number Diff line number Diff line change 15
15
*/
16
16
#if defined(__ELF__) && defined(__GNUC__ )
17
17
.section .note.GNU-stack,"",%progbits
18
+
19
+ .pushsection .note.gnu.property, "a"
20
+ .balign 8
21
+ .long 4 /* size of the name - "GNU\0" */
22
+ .long 0x10 /* size of descriptor */
23
+ .long 0x5 /* NT_GNU_PROPERTY_TYPE_0 */
24
+ .asciz "GNU"
25
+ .long 0xc0000000 /* pr_type - GNU_PROPERTY_AARCH64_FEATURE_1_AND */
26
+ .long 4 /* pr_datasz - 4 bytes */
27
+ .long 1 /* pr_data - GNU_PROPERTY_AARCH64_FEATURE_1_BTI */
28
+ .long 0 /* pr_padding - bring everything to 8 byte alignment */
29
+ .popsection
18
30
#endif
19
31
20
32
#if ZSTD_ENABLE_ASM_X86_64_BMI2
You can’t perform that action at this time.
0 commit comments