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
12 lines
170 B
ArmAsm
12 lines
170 B
ArmAsm
.type sym1,@function
|
|
.global sym1
|
|
sym1:
|
|
|
|
.type sym2,@function
|
|
.global sym2
|
|
sym2:
|
|
|
|
.type sym3,@function
|
|
.global sym3
|
|
sym3:
|