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 - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |