Files
clang-p2996/lld/test/ELF/Inputs/dynamic-reloc-weak.s
Rafael Espindola 993f0273e3 Fix some confusion about what can be preempted.
For shared libraries we allow any weak undefined symbol to eventually be
resolved, even if we never see a definition in another .so. This matches
the behavior when handling other undefined symbols in a shared library.

For executables, we require seeing a definition in a .so or resolve it
to zero. This is also similar to how non weak symbols are handled.

llvm-svn: 262017
2016-02-26 14:27:47 +00:00

12 lines
170 B
ArmAsm

.type sym1,@function
.global sym1
sym1:
.type sym2,@function
.global sym2
sym2:
.type sym3,@function
.global sym3
sym3: