xref: /llvm-project/lld/test/ELF/note-noalloc2.s (revision b159906a9a45ba9d8655a29014d585203faf0629)
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
4# RUN: llvm-readobj -l %t | FileCheck %s
5
6## Check we do not create a PT_NOTE segment for non-allocatable note section.
7
8# CHECK-NOT:  PT_NOTE
9
10.section  .note,"",@note
11.quad 0
12