forked from OSchip/llvm-project
17 lines
332 B
ArmAsm
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
|
|
|