Gas is very inconsistent about when a relaxation/relocation is needed. Do
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Feb 2011 03:25:55 +0000 (03:25 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Feb 2011 03:25:55 +0000 (03:25 +0000)
commit908159b46ae118d36fccbc1d5145dcedfc3d4185
tree2bcfa35cdee3a066ce28656022bc1e7b506c6e5e
parent169e1552e748348b033fb6817df4bffc345e5583
Gas is very inconsistent about when a relaxation/relocation is needed. Do
the right thing and stop trying to copy it. Fixes PR8944.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125648 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectWriter.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCAssembler.cpp
lib/MC/MCObjectWriter.cpp
lib/MC/WinCOFFObjectWriter.cpp
test/MC/ELF/relax.s