VirtualBox

Changeset 46558 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jun 14, 2013 1:24:32 PM (11 years ago)
Author:
vboxsync
Message:

IMP2 fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs.mac

    r46550 r46558  
    139139 %endif
    140140%elifdef ASM_FORMAT_ELF
    141  %ifdef RT_ARCH_AMD64
    142   %define IMP2(name)    qword [rel IMPNAME(name) wrt ..got]
    143  %else
    144   %define IMP2(name)    IMPNAME(name) wrt ..plt
     141 %ifdef PIC
     142  %ifdef RT_ARCH_AMD64
     143   %define IMP2(name)   qword [rel IMPNAME(name) wrt ..got]
     144  %else
     145   %define IMP2(name)   IMPNAME(name) wrt ..plt
     146  %endif
    145147 %endif
    146148%elifdef ASM_FORMAT_MACHO
     
    150152  %define IMP2(name)    IMPNAME(name)
    151153 %endif
    152 %else
    153  %ifdef RT_ARCH_AMD64
    154   %define IMP2(name)    IMPNAME(name) wrt rip
    155  %else
    156   %define IMP2(name)    IMPNAME(name)
    157  %endif
     154%endif
     155%ifndef IMP2
     156 %define IMP2(name)     IMPNAME(name)
    158157%endif
    159158
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