commit | 651fcf6019eec1a65d4227082e12bc6ad4576f41 | [log] [tgz] |
---|---|---|
author | Prabhakar Kushwaha <prabhakar@freescale.com> | Tue Apr 08 19:12:31 2014 +0530 |
committer | York Sun <yorksun@freescale.com> | Tue Apr 22 17:58:50 2014 -0700 |
tree | b540b53b7f9a4e7b70737dc0bd73c3791a655b20 | |
parent | 49efe85b35e61fb50b00ca02354dfca0d3c5c46c [diff] |
powerpc:Add support of SPL non-relocation Current SPL code base has BSS section placed after reset_vector. This means they have to relocate to use the global variables. This put an implicit requirement of having SPL size = Memory/2. To avoid relocation: - Move bss_section within SPL range - Modify relocate_code() Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>