[ARM] Fix RELA relocations for 32bit ARM.
authorWolfgang Pieb <wolfgang_pieb@playstation.sony.com>
Fri, 25 Jun 2021 17:54:24 +0000 (10:54 -0700)
committerWolfgang Pieb <wolfgang_pieb@playstation.sony.com>
Wed, 14 Jul 2021 21:27:15 +0000 (14:27 -0700)
commitd1116697be059350a5b04d1af29e2d454afda746
treedced6a0f8ca8c59a7b4a6caa4814133ed3d849cb
parent7e29e57917a9ecb8f1b07aa2d99b0fbea91cda61
[ARM] Fix RELA relocations for 32bit ARM.

RELA relocations for 32 bit ARM ignored the addend. Some tools generate
them instead of REL type relocations. This fixes PR50473.

    Reviewed By: MaskRay, peter.smith

    Differential Revision: https://reviews.llvm.org/D105214
llvm/lib/Object/RelocationResolver.cpp
llvm/test/DebugInfo/ARM/dwarfdump-rela.yaml [new file with mode: 0644]