commit | 4e86f54fdbcc375e14fdfc61ded8a97e8e030996 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Mar 24 23:48:44 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Mar 24 23:48:44 2015 +0000 |
tree | a982bc35c9f4444df863767d742b76d6e679f480 | |
parent | d639e1975d9360ee0cf9ce9a458ae890eebea0de [diff] |
Don't be over eager in evaluating a subtraction with a weak symbol. In a subtraction of the form A - B, if B is weak, there is no way to represent that on ELF since all relocations add the value of a symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233139 91177308-0d34-0410-b5e6-96231b3b80d8