Changeset 5690
- Timestamp:
- 11/11/07 18:38:03 (1 year ago)
- Files:
-
- trunk/include/iprt/asmdefs.mac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/iprt/asmdefs.mac
r5605 r5690 138 138 ;; 139 139 ; Begins 16-bit data 140 %macro BEGINDATA16 0141 segment DATA16142 %endmacro140 %macro BEGINDATA16 0 141 segment DATA16 142 %endmacro 143 143 144 144 ;; 145 145 ; Begins 16-bit init data 146 %macro BEGINDATA16INIT 0147 segment DATA16_INIT148 %endmacro146 %macro BEGINDATA16INIT 0 147 segment DATA16_INIT 148 %endmacro 149 149 150 150 segment CODE16 public CLASS=FAR_CODE align=16 use16 … … 154 154 ;; 155 155 ; Begins 16-bit code 156 %macro BEGINCODE16 0157 segment CODE16158 %endmacro156 %macro BEGINCODE16 0 157 segment CODE16 158 %endmacro 159 159 160 160 ;; 161 161 ; Begins 16-bit init code 162 %macro BEGINCODE16INIT 0163 segment CODE16_INIT164 %endmacro162 %macro BEGINCODE16INIT 0 163 segment CODE16_INIT 164 %endmacro 165 165 166 166 %endif … … 195 195 %endif 196 196 197 ;; 198 ; Begins constant (read-only) data 199 ; 200 ; @remarks This is mapped to the CODE section/segment when there isn't 201 ; any dedicated const section/segment. (There is code that 202 ; assumes this, so don't try change it.) 203 %ifdef ASM_FORMAT_OMF 204 %macro BEGINCONST 0 205 segment TEXT32 206 %endmacro 207 %else 208 %macro BEGINCONST 0 209 %ifdef ASM_FORMAT_MACHO ;; @todo check the other guys too. 210 [section .rodata] 211 %else 212 [section .text] 213 %endif 214 %endmacro 215 %endif 197 216 198 217 ;;

