2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
4 # RUN: echo "SECTIONS { \
5 # RUN: . = SIZEOF_HEADERS; \
6 # RUN: .text : { *(.text) } \
7 # RUN: .foo : {foo1 = .; *(.foo.*) foo2 = .; *(.bar) foo3 = .;} \
9 # RUN: ld.lld -o %t1 --script %t.script %t -shared
10 # RUN: llvm-readobj --symbols %t1 | FileCheck %s
13 # CHECK-NEXT: Value: 0x330
16 # CHECK-NEXT: Value: 0x338
19 # CHECK-NEXT: Value: 0x33C