This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, nios2] Fix linker provided _gp symbol
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: Chung-Lin Tang <cltang at codesourcery dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 9 May 2014 09:32:42 -0600
- Subject: Re: [PATCH, nios2] Fix linker provided _gp symbol
- Authentication-results: sourceware.org; auth=none
- References: <536CD0C5 dot 3040104 at codesourcery dot com>
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