Widen ELFYAML relocation type to 32 bits
authorWill Newton <will.newton@linaro.org>
Thu, 27 Nov 2014 17:20:48 +0000 (17:20 +0000)
committerWill Newton <will.newton@linaro.org>
Thu, 27 Nov 2014 17:20:48 +0000 (17:20 +0000)
commita7d232fe5608ed41e8401d0cb34baa5ff3f85d52
treeb55f881d6aeb3d38cf86881b420ff7a5d3a97963
parentd11591b293ed4b5ead18866c88288d6daebb1f4c
Widen ELFYAML relocation type to 32 bits

The current 8 bits is sufficient for ELF32 targets but ELF64 requires
32 bits. Add a test for AArch64 that exposes the issue.

llvm-svn: 222898
llvm/include/llvm/Object/ELFYAML.h
llvm/test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml