VirtualBox

Changeset 5460 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 24, 2007 1:58:31 AM (17 years ago)
Author:
vboxsync
Message:

GOT rules...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/timesupA.mac

    r5456 r5460  
    457457    mov     eax, SUPGIPCPU_size
    458458    mul     ebx
     459 %ifdef RT_OS_WINDOWS
    459460    mov     pGip, [NAME(g_pSUPGlobalInfoPage) wrt rip]
     461 %else
     462    mov     pGip, [rel NAME(g_pSUPGlobalInfoPage) wrt ..gotpcrel]
     463    mov     pGip, [pGip]
     464 %endif
    460465    lea     pGipCPU, [pGip + rax + SUPGLOBALINFOPAGE.aCPUs]
    461466;    lea     pGipCPU, [pGip + SUPGLOBALINFOPAGE.aCPUs]
    462467;    lea     pGipCPU, [pGipCPU + rax]
    463468%else
     469 %ifdef RT_OS_WINDOWS
    464470    mov     pGip, [NAME(g_pSUPGlobalInfoPage) wrt rip]
     471 %else
     472    mov     pGip, [rel NAME(g_pSUPGlobalInfoPage) wrt ..gotpcrel]
     473    mov     pGip, [pGip]
     474 %endif
    465475    lea     pGipCPU, [pGip + SUPGLOBALINFOPAGE.aCPUs]
    466476%endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette