On Thu, Sep 07, 2006 at 06:44:30PM +0200, Andreas Schwab wrote:
> 0 is modified by the result of the GOT relocation for __gp
The 0 is the already modified value.

> __gp has no special meaning for gcc.  It's just another global variable.

Precisely the problem.  On ia64 gcc likes to compute the address
of global variables as offsets from __gp ... which it knows is
always available in r1.  So __gp gets no special treatment at all,
gcc knows that __gp = GOT + offset (and for __gp "offset" is 0).

-Tony
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to