Add r228889 back.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 17 Feb 2015 20:40:59 +0000 (20:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 17 Feb 2015 20:40:59 +0000 (20:40 +0000)
commit84f0507260be95e35a06e9ba051e48e5950caed2
treec47041c08f7f7064836f1314e2a1a9924b62ed08
parent8fd9fc329727c9badf4becbb81a853a84e508f3e
Add r228889 back.

Original message:
Invert the section relocation map.

It now points from rel section to section. Use it to set sh_info, avoiding
a brittle name lookup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp