1 # RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-freebsd13.0 %s -o %t
2 # RUN: llvm-readelf -s %t | FileCheck %s
4 # CHECK: Type Bind Vis Ndx Name
5 # CHECK: FUNC GLOBAL DEFAULT [<other: 0x60>] 2 foo
6 # CHECK-NEXT: FUNC WEAK DEFAULT [<other: 0x60>] 2 __impl_foo
7 # CHECK-NEXT: FUNC GLOBAL DEFAULT [<other: 0x60>] 2 func
8 # CHECK-NEXT: FUNC WEAK DEFAULT [<other: 0x60>] 2 weak_func
9 # CHECK: FUNC WEAK DEFAULT [<other: 0x60>] 2 foo@FBSD_1.1
21 .symver __impl_foo, foo@FBSD_1.1
26 # Mimick FreeBSD weak function/reference
37 ## PR44284 Don't crash if err is redefined after .set