[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.3, Mon Dec 1 14:45:45 2008 UTC
# Line 103  Line 103 
103  %define PTR_SIZE 8  %define PTR_SIZE 8
104  %define PTR_TYPE qword  %define PTR_TYPE qword
105    
 %ifdef __YASM_VERSION_ID__  
 %define XVID_MOVSXD movsxd  
 %else  
 %define XVID_MOVSXD movsx  
 %endif  
106    
107  %else  %else
108    
# Line 154  Line 149 
149  %define PUSH_XMM6_XMM7  %define PUSH_XMM6_XMM7
150  %define POP_XMM6_XMM7  %define POP_XMM6_XMM7
151    
 %define XVID_MOVSXD movsx  
152  %endif  %endif
153    
154    
# Line 174  Line 168 
168        %endif        %endif
169  %endmacro  %endmacro
170    
 %macro TEXT 0  
 %ifidn __OUTPUT_FORMAT__,macho  
       SECTION .text align=SECTION_ALIGN  
 %else  
       SECTION .rotext align=SECTION_ALIGN  
 %endif  
 %endmacro  
   
171  %macro cglobal 1  %macro cglobal 1
172          %ifdef PREFIX          %ifdef PREFIX
173                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
# Line 203  Line 189 
189                  %endif                  %endif
190          %endif          %endif
191  %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.3

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