[Webkit-unassigned] [Bug 150381] New: [MIPS] LLInt: fix calculation of Global Offset Table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 17:53:02 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150381

            Bug ID: 150381
           Summary: [MIPS] LLInt: fix calculation of Global Offset Table
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: guijemont at igalia.com

Offlineasm adds a .cpload when we create a label in MIPS (useful for functions so that the GOT can be used to calculate the address of position-independent code). But the code created by the assembler when encountering a .cpload assumes  that we jumped to that address. So we need to add a jump to pcBase in initPCRelative(), or otherwise the GOT-related calculations are wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151021/0a77624b/attachment-0001.html>


More information about the webkit-unassigned mailing list