[PATCH, nios2] Fix linker provided _gp symbol

Sandra Loosemore sandra@codesourcery.com
Fri May 9 15:33:00 GMT 2014


On 05/09/2014 06:57 AM, Chung-Lin Tang wrote:
> Hi Sandra,
> As I mentioned earlier, here's a fix for the nios2-linux emulation to
> make _gp/gp hidden, analogous to the same issue Maciej fixed earlier for
> MIPS:
> http://sourceware.org/ml/binutils/2012-08/msg00064.html
>
> Okay for trunk and 2.24 branch?
>
> Thanks,
> Chung-Lin
>
> 2014-05-09  Chung-Lin Tang  <cltang@codesourcery.com>
>
> 	ld/
> 	* emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS):
> 	Wrap _gp in HIDDEN(), and gp in PROVIDE_HIDDEN.
>

Yes, this looks OK.

-Sandra



More information about the Binutils mailing list