]> granicus.if.org Git - llvm/commit
Merging r322266:
authorTom Stellard <tstellar@redhat.com>
Fri, 18 May 2018 20:43:04 +0000 (20:43 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 18 May 2018 20:43:04 +0000 (20:43 +0000)
commit374d70efdbd5714332c1695102715b436e492631
tree9c119c9c40f863b7c8cf8186ba7dd8d527a9d234
parent63bcfe38b313c7ef37f58661e4e39cd95b02e2da
Merging r322266:

------------------------------------------------------------------------
r322266 | smaksimovic | 2018-01-11 02:07:47 -0800 (Thu, 11 Jan 2018) | 7 lines

[Mips] Handle one byte unsupported relocations

Fail gracefully instead of crashing upon encountering
this type of relocation.

Differential revision: https://reviews.llvm.org/D41857

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@332765 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
test/MC/Mips/unsupported-relocation.s [new file with mode: 0644]