commit | 6e2b9a3690bdd806da6a180668f82d1a0e6fc1ed | [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 | a7eb72b0614b41de2583e0acfa5f67ab171374bd [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>