VirtualBox

Changeset 1401 in vbox for trunk


Ignore:
Timestamp:
Mar 12, 2007 4:13:51 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19399
Message:

Mach-O/Yasm .bss section fix (it must be last, so declare everything else up front).

File:
1 edited

Legend:

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

    r1190 r1401  
    123123
    124124;
    125 ; Do OMF segment definitions
     125; Do OMF and Mach-O/Yasm segment definitions
     126;
     127; Both format requires this to get the segment order right, in the Mach-O/Yasm case
     128; it's only to make sure the .bss section ends up last (it's not declared here).
    126129;
    127130%ifdef ASM_FORMAT_OMF
     
    170173 ; Make the TEXT32 segment default.
    171174 segment TEXT32
     175%endif
     176
     177%ifdef ASM_FORMAT_MACHO
     178 %ifdef __YASM__
     179 [section .text]
     180 [section .data]
     181 %endif
    172182%endif
    173183
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