Allow ELF64 relocation type to be more than 8 bits.
authorTim Northover <Tim.Northover@arm.com>
Tue, 8 Jan 2013 10:12:09 +0000 (10:12 +0000)
committerTim Northover <Tim.Northover@arm.com>
Tue, 8 Jan 2013 10:12:09 +0000 (10:12 +0000)
commit0b740236b71f0f3811421885c04cc43130f88bef
tree31298e1d49cc2875723cec1bdd600aa62987090f
parent40b2c32475572d33ede7cf202f2d49cab9b43bb4
Allow ELF64 relocation type to be more than 8 bits.

Current targets don't have more than 256 relocations so they don't hit this
limit, but ELF64 actually allows more than 8 bits for a relocation type. These
were being truncated on AArch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171845 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h