Don't lose the thumb bit by using relocations with sections.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 11 Apr 2014 19:18:01 +0000 (19:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 11 Apr 2014 19:18:01 +0000 (19:18 +0000)
commit0a3dcf2c5133b6cb6774e39e7b6414d868f8ffc6
tree54f3070bde2566595f35f84311012037dd780f23
parent35aa928870c3685d8281ee85df5ef3af83ed6f89
Don't lose the thumb bit by using relocations with sections.

This fixes a regression from r205076.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ARM/elf-thumbfunc-reloc.s