1# REQUIRES: x86 2 3## Test symbols larger than 2**32 can be copy relocated. 4 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 11 12# CHECK: [ 8] .bss.rel.ro 13# CHECK: 4294967297 OBJECT GLOBAL DEFAULT 8 foo 14 15 .global _start 16_start: 17 .quad foo 18