[cvs] / xvidcore / src / nasm.inc Repository:
ViewVC logotype

Diff of /xvidcore/src/nasm.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.5, Wed Sep 16 17:11:39 2009 UTC revision 1.4, Thu Dec 4 14:41:50 2008 UTC
# Line 104  Line 104 
104  %define PTR_TYPE qword  %define PTR_TYPE qword
105    
106  %ifdef __YASM_VERSION_ID__  %ifdef __YASM_VERSION_ID__
107  %define XVID_MOVSXD movsxd  %define XVID_MOVSX movsxd
108  %else  %else
109  %define XVID_MOVSXD movsx  %define XVID_MOVSX movsx
110  %endif  %endif
111    
112  %else  %else
# Line 154  Line 154 
154  %define PUSH_XMM6_XMM7  %define PUSH_XMM6_XMM7
155  %define POP_XMM6_XMM7  %define POP_XMM6_XMM7
156    
157  %define XVID_MOVSXD movsx  %define XVID_MOVSX movsx
158    
159  %endif  %endif
160    
161    
# Line 175  Line 176 
176  %endmacro  %endmacro
177    
178  %macro TEXT 0  %macro TEXT 0
 %ifidn __OUTPUT_FORMAT__,macho  
       SECTION .text align=SECTION_ALIGN  
 %else  
179        SECTION .rotext align=SECTION_ALIGN        SECTION .rotext align=SECTION_ALIGN
 %endif  
180  %endmacro  %endmacro
181    
182  %macro cglobal 1  %macro cglobal 1
# Line 203  Line 200 
200                  %endif                  %endif
201          %endif          %endif
202  %endmacro  %endmacro
   
 %macro NON_EXEC_STACK 0  
 %ifidn __OUTPUT_FORMAT__,elf  
 section .note.GNU-stack noalloc noexec nowrite progbits  
 %endif  
 %ifidn __OUTPUT_FORMAT__,elf64  
 section .note.GNU-stack noalloc noexec nowrite progbits  
 %endif  
 %endmacro  

Legend:
Removed from v.1.1.2.5  
changed lines
  Added in v.1.4

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4