From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Fri, 18 May 2012 18:00:02 -0500 Subject: [U-Boot] [PATCH] powerpc/85xx: fix NAND boot linker scripts for -fpic In-Reply-To: <20120501214551.GA12049@schlenkerla.am.freescale.net> References: <20120501214551.GA12049@schlenkerla.am.freescale.net> Message-ID: <4FB6D472.7000207@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/01/2012 04:45 PM, Scott Wood wrote: > GOT is now handled the way the main u-boot.lds does it. Without this, > the boot hangs when built with newer GCC (since 4.6). Older toolchains > hid the issue by converting -fpic to -fPIC. > > Signed-off-by: Scott Wood > --- > arch/powerpc/cpu/mpc85xx/u-boot-nand.lds | 5 +++-- > arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 4 +++- > 2 files changed, 6 insertions(+), 3 deletions(-) Applied to u-boot-nand-flash -Scott