On Sun, Nov 20, 2016 at 4:25 AM, Simon Glass <s...@chromium.org> wrote: > The BSS region may overlap with relocations. If we clear BSS we will > overwrite the start of the relocation area. This doesn't matter when running > from SPI flash, since it is read-only. But when relocating 64-bit U-Boot > from one place in RAM to another, relocation will fail because some of its > relocations have been zeroed. > > To fix this, put the ELF fixup call before the BSS clearing call. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > Changes in v2: None > > common/board_f.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot