4794281d64
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the git monorepo.
15 lines
351 B
ArmAsm
15 lines
351 B
ArmAsm
// REQUIRES: x86
|
|
// RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t.o
|
|
// RUN: ld.lld -shared %t.o -o %t.so
|
|
// RUN: llvm-readobj -r %t.so | FileCheck %s
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK-NEXT: Section ({{.*}}) .rel.dyn {
|
|
// CHECK-NEXT: R_386_RELATIVE - 0x0
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|
|
|
|
.data
|
|
foo:
|
|
.long foo
|