summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/note-noalloc2.s
blob: d09cb8ee851ef0af8628233c4847e7db16424ffa (plain)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-readobj -l %t | FileCheck %s

## Check we do not create a PT_NOTE segment for non-allocatable note section.

# CHECK-NOT:  PT_NOTE

.section  .note,"",@note
.quad 0
OpenPOWER on IntegriCloud