Files
clang-p2996/lld/test/ELF/relocation-relative-weak.s
Fangrui Song 8f10a5f42d [ELF][test] Simplify and reorganize tests
Add file-level comments
Delete insignificant addresses to make them more tolerant to layout changes
Simplify test output
Delete simple Inputs/*.s files

Delete version-script-copy-rel.s - covered by verdef-defaultver.s
Delete version-wildcard.test - covered by version-script-glob.s

llvm-svn: 371213
2019-09-06 15:10:31 +00:00

18 lines
411 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t1.o
# RUN: ld.lld %t1.o -shared -o %t1.so
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
# RUN: ld.lld %t.o %t1.so -o %t -pie
# RUN: llvm-readobj --dyn-relocations %t | FileCheck %s
# CHECK: Dynamic Relocations {
# CHECK-NEXT: R_X86_64_JUMP_SLOT w 0x0
# CHECK-NEXT: }
.globl _start
_start:
.globl w
.weak w
call w@PLT