bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12669] Suspected bug in calculation of gp-relative offsets for i


From: jakub at jermar dot eu
Subject: [Bug ld/12669] Suspected bug in calculation of gp-relative offsets for ia64 target
Date: Wed, 13 Apr 2011 14:16:06 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12669

--- Comment #3 from Jakub Jermar <jakub at jermar dot eu> 2011-04-13 14:16:02 
UTC ---
(In reply to comment #2)
> Note that the linker does not always put gp at the start of the .got section. 
> If you want to force a particular gp value you need to define the symbol 
> __gp. 
> Otherwise use this symbol to find the actually chosen gp value.  You should
> also keep .got, .sdata and .sbss close together.

Interestingly, defining and using __gp instead of _gp seems to fix the problem
for us. Thanks! Btw, is this documented somewhere?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]