diff options
author | Nicolas Pitre <[email protected]> | 2011-06-12 01:07:33 -0400 |
---|---|---|
committer | Nicolas Pitre <[email protected]> | 2011-09-14 13:51:57 -0400 |
commit | 5ffb04f6690d71fab241b3562ebf52b893ac4ff1 (patch) | |
tree | 69897c130b7f3ff06d54d35eb3c92a8baea57119 /tools/perf/scripts/python | |
parent | e2a6a3aafa9862c4a4b59f2a59b8f923d64a680e (diff) |
ARM: zImage: make sure appended DTB doesn't get overwritten by kernel .bss
The appended DTB gets relocated with the decompressor code to get out
of the way of the decompressed kernel. However the kernel's .bss section
may be larger than the relocated code and data, and then the DTB gets
overwritten. Let's make sure the relocation takes care of moving zImage
far enough so no such conflict with .bss occurs.
Thanks to Tony Lindgren <[email protected]> for figuring out this issue.
While at it, let's clean up the code a bit so that the wont_overwrite
symbol is used while determining if a conflict exists, making the above
change more precise as well as eliminating some ARM/THUMB alternates.
Signed-off-by: Nicolas Pitre <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Tested-by: Shawn Guo <[email protected]>
Tested-by: Dave Martin <[email protected]>
Tested-by: Thomas Abraham <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions