forked from OSchip/llvm-project
15 lines
347 B
ArmAsm
15 lines
347 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 -
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|
|
|
|
.data
|
|
foo:
|
|
.long foo
|