summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/relocatable-script.s
blob: 35ea13a67cc25023cfaf3a7000d80068863a083c (plain)
1
2
3
4
5
6
7
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux -o %t1.o %s
# RUN: echo "SECTIONS { .foo : { BYTE(0x0) } }" > %t.script
# RUN: ld.lld -r %t1.o -script %t.script -o %t2.o
# RUN: llvm-readobj --sections %t2.o | FileCheck %s

# CHECK:  Name: .foo
OpenPOWER on IntegriCloud