Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-02 Thread Joakim Tjernlund
[Resending with old email address] I want to add why PROVIDE was added in the first place: In theory it is possible to build an u-boot without ld defining _GLOBAL_OFFSET_TABLE_, in that case we create _GLOBAL_OFFSET_TABLE_ ourself. Should we start using -fPIC* one day this will we will be close

Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-02 Thread Joakim Tjernlund
On Fri, 2015-10-30 at 10:12 -0700, York Sun wrote: > > On 10/24/2015 10:02 PM, Prabhakar Kushwaha wrote: > > From: Zhenhua Luo > > > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > > u-boot.lds overrides the linker built-in symbols > >

Re: [U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-10-30 Thread York Sun
On 10/24/2015 10:02 PM, Prabhakar Kushwaha wrote: > From: Zhenhua Luo > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > u-boot.lds overrides the linker built-in symbols >

[U-Boot] [PATCH][v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-10-24 Thread Prabhakar Kushwaha
From: Zhenhua Luo In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in u-boot.lds overrides the linker built-in symbols (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff; h=b893397a4b1316610f49819344817715e4305de9), so the