arm: ensure u-boot only uses relative relocations
Add a Makefile target ('checkarmreloc') which fails if the ELF binary contains relocation records of types other than R_ARM_RELATIVE. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: NLubomir Popov <lpopov@mm-sol.com> Tested-by: NJeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Showing
想要评论请 注册 或 登录