1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3// RUN: ld.lld %t.o -o %t -shared 4// RUN: llvm-readobj -l %t | FileCheck %s 5 6// CHECK: Type: PT_NOTE 7// CHECK-NEXT: Offset: 8// CHECK-NEXT: VirtualAddress: 9// CHECK-NEXT: PhysicalAddress: 10// CHECK-NEXT: FileSize: 8 11// CHECK-NEXT: MemSize: 8 12// CHECK-NEXT: Flags [ 13// CHECK-NEXT: PF_R 14// CHECK-NEXT: ] 15// CHECK-NEXT: Alignment: 1 16 17 .section .note.test,"a",@note 18 .quad 42 19