Handle X86::reloc_riprel_4byte in 32 bits mode.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Mar 2015 17:33:40 +0000 (17:33 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 18 Mar 2015 17:33:40 +0000 (17:33 +0000)
commit38438bae21aee9bc24276d31f5b3eede81ac1a1d
tree4763114b19e4d90a317a9cbf386b7eb0e2e6d3f1
parent5d7e8fcd5297169b461f2465470f620b2dd9f9c9
Handle X86::reloc_riprel_4byte in 32 bits mode.

We can get there with .code64.

Fixes pr22349.

llvm-svn: 232651
llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
llvm/test/MC/ELF/relocation-386.s