summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/implicit-program-header.s
blob: 9598a6abebb049ff85e9d8a66cc5e6a7053e5d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -o %t1 --script %S/Inputs/implicit-program-header.script  \
# RUN:   %t.o -shared
# RUN: llvm-readobj -elf-output-style=GNU -l %t1 | FileCheck %s

# CHECK:      Segment Sections...
# CHECK-NEXT:   00     .text .dynsym .hash .dynstr .dynamic
# CHECK-NEXT:   01     .foo

.quad 0
.section .foo,"ax"
.quad 0
OpenPOWER on IntegriCloud