[U-Boot] [PATCH v4 5/7] nios2: remove gp assignments in link script

Thomas Chou thomas at wytron.com.tw
Mon Sep 7 04:26:55 CEST 2015



On 09/07/2015 09:03 AM, Thomas Chou wrote:
> Since we don't use gp for small data with option "-G0",
> we use gp as global data pointer. The _gp location is
> not needed.
>
> The ALIGN(16) was for gp only. It is removed, so that we
> can get correct address of dtb in u-boot-dtb.bin image.
>
> Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Marek Vasut <marex at denx.de>
> ---
>   arch/nios2/cpu/u-boot.lds | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
>

Applied to u-boot-nios.


More information about the U-Boot mailing list