From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Mon, 7 Sep 2015 10:26:55 +0800 Subject: [U-Boot] [PATCH v4 5/7] nios2: remove gp assignments in link script In-Reply-To: <1441587806-23115-6-git-send-email-thomas@wytron.com.tw> References: <1441336526-23505-1-git-send-email-thomas@wytron.com.tw> <1441587806-23115-1-git-send-email-thomas@wytron.com.tw> <1441587806-23115-6-git-send-email-thomas@wytron.com.tw> Message-ID: <55ECF5EF.9090707@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > Acked-by: Marek Vasut > --- > arch/nios2/cpu/u-boot.lds | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > Applied to u-boot-nios.