14 lines · plain
1// RUN: llvm-mc -triple x86_64-linux-gnu -filetype=obj %s | llvm-readobj -r - | FileCheck %s2 3// Tests that relocation value fits in the provided size4// Original bug http://llvm.org/bugs/show_bug.cgi?id=105685 6L: movq $(L + 2147483648),%rax7 8 9// CHECK: Relocations [10// CHECK-NEXT: Section ({{[0-9]+}}) .rela.text {11// CHECK-NEXT: 0x3 R_X86_64_32S {{[^ ]+}} 0x8000000012// CHECK-NEXT: }13// CHECK-NEXT: ]14