18 lines · plain
1# REQUIRES: x862 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.o7# RUN: ld.lld -shared %t1.o -o %t1.so8# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o9# RUN: ld.lld %t.o %t1.so -o %t10# RUN: llvm-readelf -S --dyn-syms %t | FileCheck %s11 12# CHECK: [ 8] .bss.rel.ro13# CHECK: 4294967297 OBJECT GLOBAL DEFAULT 8 foo14 15 .global _start16_start:17 .quad foo18