[PATCH] D35944: [ELF] Disable relocation validation when targeting weak undefined symbols

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 10:33:52 PDT 2017


ruiu added a comment.

Yeah. If the ELF specification says that unresolved weak symbols must be handled as address zero, and if address zero is not representable for some relocation, then I think the logical consequence is we should report it as error.


https://reviews.llvm.org/D35944





More information about the llvm-commits mailing list