projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
colibri_vf: Add separate defconfig for device tree support
[oweals/u-boot.git]
/
tools
/
relocate-rela.c
diff --git
a/tools/relocate-rela.c
b/tools/relocate-rela.c
index 93b4c3923e701381e86bd6f23a97714ac9a61295..670b9fd73af88f0c7ffd44bb68c1d670f3fc2929 100644
(file)
--- a/
tools/relocate-rela.c
+++ b/
tools/relocate-rela.c
@@
-120,7
+120,7
@@
int main(int argc, char **argv)
}
if (rela_start > rela_end || rela_start < text_base ||
- (rela_end - rela_start) %
24
) {
+ (rela_end - rela_start) %
sizeof(Elf64_Rela)
) {
fprintf(stderr, "%s: bad rela bounds\n", argv[0]);
return 3;
}