1 // RUN: llvm-mc -mc-no-exec-stack -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s 2 3 // CHECK: Section { 4 // CHECK: Index: 4 5 // CHECK-NEXT: Name: .note.GNU-stack 6 // CHECK-NEXT: Type: SHT_PROGBITS 7 // CHECK-NEXT: Flags [ 8 // CHECK-NEXT: ] 9 // CHECK-NEXT: Address: 0x0 10 // CHECK-NEXT: Offset: 0x40 11 // CHECK-NEXT: Size: 0 12 // CHECK-NEXT: Link: 0 13 // CHECK-NEXT: Info: 0 14 // CHECK-NEXT: AddressAlignment: 1 15 // CHECK-NEXT: EntrySize: 0 16 // CHECK-NEXT: } 17 18 // CHECK: Symbol { 19 // CHECK: Name: .note.GNU-stack (0) 20 // CHECK-NEXT: Value: 0x0 21 // CHECK-NEXT: Size: 0 22 // CHECK-NEXT: Binding: Local 23 // CHECK-NEXT: Type: Section 24 // CHECK-NEXT: Other: 0 25 // CHECK-NEXT: Section: .note.GNU-stack (0x4) 26 // CHECK-NEXT: } 27