2 # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux-gnu %s -o %t
3 # RUN: echo "SECTIONS { \
4 # RUN: .data 0x1000 : { *(.data) } \
5 # RUN: .got 0x2000 : { \
10 # RUN: ld.lld -shared -o %t.out --script %t.script %t
11 # RUN: llvm-objdump -s %t.out | FileCheck %s
20 # CHECK: Contents of section .data:
21 # CHECK-NEXT: 1000 00000000
22 # CHECK: Contents of section .got:
23 # CHECK-NEXT: 2000 00000000 00100000