linux-packaging-mono/external/llvm-project/lld/test/ELF/ppc64-weak-undef-call-shared.s
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

17 lines
332 B
ArmAsm

# RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t.so
# RUN: llvm-readobj -t -r -dyn-symbols %t.so | FileCheck %s
# REQUIRES: ppc
.section ".toc","aw"
.quad weakfunc
// CHECK-NOT: R_PPC64_RELATIVE
.text
.Lfoo:
bl weakfunc
// CHECK-NOT: R_PPC64_REL24
.weak weakfunc