Slightly saner handling of thumb branches.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 4 Nov 2015 23:00:39 +0000 (23:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 4 Nov 2015 23:00:39 +0000 (23:00 +0000)
commitdc486f17195c8ff05804f034ddc8988fa9052eab
treeda029d209953cb42d766f8ad24b243f397474b36
parentaa1e5aa9df2a6e3ceca10f03bef08962ff9c6606
Slightly saner handling of thumb branches.

The generic infrastructure already did a lot of work to decide if the
fixup value is know or not. It doesn't make sense to reimplement a very
basic case: same fragment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252090 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/ARM/thumb-branches-err.s [new file with mode: 0644]
test/MC/ARM/thumb-branches.s [new file with mode: 0644]