reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
# REQUIRES: x86

## Test symbols larger than 2**32 can be copy relocated.

# RUN: echo '.globl foo; .type foo,@object; foo: .byte 0; .size foo, 0x100000001' | \
# RUN:   llvm-mc -filetype=obj -triple=x86_64 - -o %t1.o
# RUN: ld.lld -shared %t1.o -o %t1.so
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
# RUN: ld.lld %t.o %t1.so -o %t
# RUN: llvm-readelf -S --dyn-syms %t | FileCheck %s

# CHECK: [ 8] .bss.rel.ro
# CHECK: 4294967297 OBJECT GLOBAL DEFAULT  8 foo

        .global _start
_start:
        .quad foo