36 lines · plain
1// REQUIRES: aarch642 3// RUN: llvm-mc -triple=aarch64 %s -filetype=obj -o %t.o4// RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR5 6// ERR: GNU properties and build attributes have conflicting AArch64 PAuth data7// ERR-NEXT: GNU properties and build attributes have conflicting AArch64 PAuth data8 9.aeabi_subsection aeabi_pauthabi, required, uleb12810.aeabi_attribute Tag_PAuth_Platform, 511.aeabi_attribute Tag_PAuth_Schema, 512.aeabi_subsection aeabi_feature_and_bits, optional, uleb12813.aeabi_attribute Tag_Feature_BTI, 114.aeabi_attribute Tag_Feature_PAC, 115.aeabi_attribute Tag_Feature_GCS, 116 17.section ".note.gnu.property", "a"18.long 0x419.long 0x1020.long 0x521.asciz "GNU"22.long 0xc0000000 // GNU_PROPERTY_AARCH64_FEATURE_1_AND23.long 0x424.long 0x2 // GNU_PROPERTY_AARCH64_FEATURE_1_PAC25.long 0x026 27.section ".note.gnu.property", "a"28.long 0x429.long 0x1830.long 0x531.asciz "GNU"32.long 0xc000000133.long 0x1034.quad 0x12345678 // platform35.quad 0x87654321 // version36