Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / copy-rel-large.s
blobd383c0e2b74b6db6cafd9c77108726b6acf2375b
1 # REQUIRES: x86
3 ## Test symbols larger than 2**32 can be copy relocated.
5 # RUN: echo '.globl foo; .type foo,@object; foo: .byte 0; .size foo, 0x100000001' | \
6 # RUN: llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o
7 # RUN: ld.lld -shared %t1.o -o %t1.so
8 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
9 # RUN: ld.lld %t.o %t1.so -o %t
10 # RUN: llvm-readelf -S --dyn-syms %t | FileCheck %s
12 # CHECK: [ 8] .bss.rel.ro
13 # CHECK: 4294967297 OBJECT GLOBAL DEFAULT 8 foo
15 .global _start
16 _start:
17 .quad foo