VirtualBox

Changeset 5550

Show
Ignore:
Timestamp:
10/29/07 23:03:10 (1 year ago)
Author:
vboxsync
Message:

be less strict here

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/iprt/asm.h

    r5490 r5550  
    418418    __asm__ __volatile__("pushfq\n\t" 
    419419                         "popq  %0\n\t" 
    420                          : "=m" (uFlags)); 
     420                         : "=g" (uFlags)); 
    421421#  else 
    422422    __asm__ __volatile__("pushfl\n\t" 
    423423                         "popl  %0\n\t" 
    424                          : "=m" (uFlags)); 
     424                         : "=g" (uFlags)); 
    425425#  endif 
    426426# else 
     
    454454    __asm__ __volatile__("pushq %0\n\t" 
    455455                         "popfq\n\t" 
    456                          : : "m" (uFlags)); 
     456                         : : "g" (uFlags)); 
    457457#  else 
    458458    __asm__ __volatile__("pushl %0\n\t" 
    459459                         "popfl\n\t" 
    460                          : : "m" (uFlags)); 
     460                         : : "g" (uFlags)); 
    461461#  endif 
    462462# else 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy