elf: arm: Add a few ARM relocation types
authorSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2016 15:47:09 +0000 (08:47 -0700)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2016 22:24:03 +0000 (23:24 +0100)
commitc70f74a081c2005b0a4749cf8762fc14b7369ddb
tree6edbba17396a181e6ef05ca4c5e6696b88017949
parentc7ae3dfdccc171543804d6577ee41ab03e7a09bc
elf: arm: Add a few ARM relocation types

Rather than hard-coding the relocation type, add it to the ELF header file
and use it from there.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/lib/relocate.S
arch/arm/lib/relocate_64.S
include/elf.h