diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:57:38 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:57:38 +0000 |
commit | 5a5c549fe9a3fef595297bd21d36bed8409dc37d (patch) | |
tree | a964c8f5ac85b7b641cac022c5f9bf4eed3d2b9b /test/ELF/eh-frame-plt.s | |
parent | fb911942f1434f3d1750f83f25f5e42c80e60638 (diff) |
Notes
Diffstat (limited to 'test/ELF/eh-frame-plt.s')
-rw-r--r-- | test/ELF/eh-frame-plt.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/ELF/eh-frame-plt.s b/test/ELF/eh-frame-plt.s new file mode 100644 index 0000000000000..e84d93c7f88bf --- /dev/null +++ b/test/ELF/eh-frame-plt.s @@ -0,0 +1,16 @@ +// REQUIRES: x86 +// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t.o +// RUN: ld.lld %t.o -o %t.so -shared +// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t2.o +// RUN: ld.lld %t2.o %t.so -o %t +// RUN: llvm-readobj -r %t | FileCheck %s + + .globl _start +_start: + .cfi_startproc + .cfi_personality 3, bar + .cfi_endproc + +// CHECK: Section ({{.*}}) .rela.plt { +// CHECK-NEXT: R_X86_64_JUMP_SLOT bar 0x0 +// CHECK-NEXT: } |