This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: relocation truncated to fit errors
On 4/3/06, Marius Groeger <mgroeger@sysgo.com> wrote:
> On Mon, 3 Apr 2006, Niklaus wrote:
>
> > I don't find any __gp.
>
> How about _gp (w/o underscore)?
>
None
pro@deb:~/scripe/cross$ ./bin/mips-deb-linux-objdump -d
./lib/gcc/mips-deb-linux /3.4.6/libgcc.a | grep gp | more
0: 3c1c0000 lui gp,0x0
4: 279c0000 addiu gp,gp,0
8: 0399e021 addu gp,gp,t9
c: 8f860000 lw a2,0(gp)
44: 8f820000 lw v0,0(gp)
0: 3c1c0000 lui gp,0x0
4: 279c0000 addiu gp,gp,0
8: 0399e021 addu gp,gp,t9
c: 8f820000 lw v0,0(gp)
cc: 8f820000 lw v0,0(gp)
0: 3c1c0000 lui gp,0x0
4: 279c0000 addiu gp,gp,0
8: 0399e021 addu gp,gp,t9
c: 8f820000 lw v0,0(gp)
34: 8f820000 lw v0,0(gp)
0: 3c1c0000 lui gp,0x0
4: 279c0000 addiu gp,gp,0
8: 0399e021 addu gp,gp,t9
c: 8f820000 lw v0,0(gp)
2c: 8f820000 lw v0,0(gp)
0: 3c1c0000 lui gp,0x0
4: 279c0000 addiu gp,gp,0
8: 0399e021 addu gp,gp,t9
pro@deb:~/scripe/cross$ ./bin/mips-deb-linux-objdump -d
./lib/gcc/mips-deb-linux/3.4.6/libgcc.a | grep _gp
pro@deb:~/scripe/cross$
> Regards,
> Marius
>
> --
> Marius Groeger <mgroeger@sysgo.com>
> SYSGO AG Embedded and Real-Time Software
> Voice: +49 6136 9948 0 FAX: +49 6136 9948 10
> www.sysgo.com | www.elinos.com | www.osek.de | www.pikeos.com
>
>