]> git.sur5r.net Git - u-boot/commit
arm: ensure u-boot only uses relative relocations
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 11 Jun 2013 12:17:30 +0000 (14:17 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 21 Jun 2013 20:59:20 +0000 (22:59 +0200)
commitc37980c31a30f0623a0ca8f112298e44039ed6bb
tree85af61bd66e05bd9da198f5098ef56f7ebbe34a5
parent7737c994609ffb50194d5ddb67467ae0fcd8f775
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: Albert ARIBAUD <albert.u.boot@aribaud.net>
Tested-by: Lubomir Popov <lpopov@mm-sol.com>
Tested-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Makefile
arch/arm/config.mk