To implement the optimization described in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129, we need to represent the
offset from a code label to a global variable's GOT entry. This can be
implemented through the arm relocation R_ARM_GOT_PREL. But currently we can't
represent it according to
http://sourceware.org/binutils/docs-2.20/as/ARM_002dRelocations.html#ARM_002dRelocations.

-- 
           Summary: Need representation of the offset from a label to a GOT
                    entry
           Product: binutils
           Version: 2.21 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: carrot at google dot com
                CC: bug-binutils at gnu dot org,carrot at google dot com
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: arm-eabi


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