]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/note-noalloc2.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / note-noalloc2.s
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 -program-headers %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