Files
clang-p2996/lld/test/ELF/Inputs/versiondef.s
Peter Smith 796fb999b3 [ELF] Do not error for missing version when symbol has local version.
If a symbol with an undefined version in a DSO is not going to be
exported into the dynamic symbol table then do not give an error message
for the missing version. This can happen with the --exclude-libs option
which implicitly gives all symbols in a static library the local version.
This matches the behavior of ld.gold and is exploited by the Bionic
dynamic linker on Arm.

Differential Revision: https://reviews.llvm.org/D43126

llvm-svn: 332224
2018-05-14 10:13:56 +00:00

10 lines
135 B
ArmAsm

.text
.globl func_impl
func_impl:
ret
.globl func_impl2
func_impl2:
ret
.symver func_impl, func@@VER2
.symver func_impl2, func@VER