VirtualBox

Changeset 24680 in vbox for trunk/src


Ignore:
Timestamp:
Nov 15, 2009 5:21:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54862
Message:

VMMGC.mac: Use new section definition form on darwin and ditch the 50 warnings we get about redefinining section flags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMGC/VMMGC.mac

    r13813 r24680  
    5151%ifdef ASM_FORMAT_MACHO
    5252 %ifdef __YASM__
    53   ; this syntax requires a patch yasm, sorry.
    5453  %macro VMMR0_SEG 1
    55   [section %1 segname=VMMR0 align=1 ]
     54   %ifndef DEFINED_VMMR0_SEG.%1
     55    %define DEFINED_VMMR0_SEG.%1 1
     56    [section VMMR0 %1 align=1 ]
     57   %else
     58    [section VMMR0 %1 ]
     59   %endif
    5660  %endmacro
    5761 %else
Note: See TracChangeset for help on using the changeset viewer.

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