Fix the symbol index of weak references. Also make RecordRelocation a bit
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Nov 2010 16:48:11 +0000 (16:48 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Nov 2010 16:48:11 +0000 (16:48 +0000)
commit03f1b74aed795110f040b7588c8921c5de4bf1ea
tree606796e930946576ef55947018695e1c0bf7fc0b
parent17e8078ae14ed71f657d59c77efa3bedf171161a
Fix the symbol index of weak references. Also make RecordRelocation a bit
easier to read by having const references to the symbol, aliased symbol and
renamed symbol.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118793 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/weakref-reloc.s [new file with mode: 0644]