1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3# RUN: echo " SECTIONS {             \
4# RUN:          . = SIZEOF_HEADERS;  \
5# RUN:          _size = SIZEOF_HEADERS;  \
6# RUN:          .text : {*(.text*)} \
7# RUN:          }" > %t.script
8# RUN: ld.lld -o %t1 --script %t.script %t
9# RUN: llvm-objdump -t %t1 | FileCheck %s
10
11#CHECK:      SYMBOL TABLE:
12#CHECK-NEXT:  0000000000000000 *UND* 00000000
13#CHECK-NEXT:  00000000000000e8 .text 00000000 _start
14#CHECK-NEXT:  00000000000000e8 *ABS* 00000000 _size
15
16.global _start
17_start:
18 nop
19