------- Additional Comments From carrot at google dot com  2010-03-01 13:49 
-------
Since this relocation needs 2 parameters, it is difficult to represent as the 
normal relocation specification var(<relocation_type>). I propose the following 
syntax, which is similar to the syntax used to represent GOT table's relocation.

     .word   var(GOTABS)-(.LPIC0+4)

In the expression var is a global variable, var(GOTABS) means the absolute 
address of GOT entry for global variable var. .LPIC0 is a code label. So the 
whole expression means the offset from code label .LPIC0 to global variable 
var's GOT entry. 

Any opinions?

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to