VirtualBox

Changeset 22279 in vbox


Ignore:
Timestamp:
Aug 17, 2009 6:43:53 AM (15 years ago)
Author:
vboxsync
Message:

ASMGetFlags() / gcc: don't use '=g' (includes '=m') as output constraint because this will not work without -fomit-frame-pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm.h

    r22005 r22279  
    494494    __asm__ __volatile__("pushfq\n\t"
    495495                         "popq  %0\n\t"
    496                          : "=g" (uFlags));
     496                         : "=r" (uFlags));
    497497#  else
    498498    __asm__ __volatile__("pushfl\n\t"
    499499                         "popl  %0\n\t"
    500                          : "=g" (uFlags));
     500                         : "=r" (uFlags));
    501501#  endif
    502502# else
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