]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/implicit-program-header.s
Vendor import of lld trunk r290819:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / implicit-program-header.s
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: ld.lld -o %t1 --script %S/Inputs/implicit-program-header.script  \
4 # RUN:   %t.o -shared
5 # RUN: llvm-readobj -elf-output-style=GNU -l %t1 | FileCheck %s
6
7 # CHECK:      Segment Sections...
8 # CHECK-NEXT:   00     .text .dynsym .hash .dynstr .dynamic
9 # CHECK-NEXT:   01     .foo
10
11 .quad 0
12 .section .foo,"ax"
13 .quad 0