Hi Niki,

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)

I think that it would be clearer if the entire expression was enclosed inside a single set of parentheses. Ie:

   .word var(GOTABS-.LPIC0+4)

Allowing white space would make it easier to read as well:

   .word var(GOTABS - .LPIC0 + 4)

Cheers
  Nick


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

Reply via email to