[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.4, Thu Dec 4 14:41:50 2008 UTC revision 1.7, Wed Sep 16 17:07:58 2009 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_MOVSX movsxd  %define XVID_MOVSXD movsxd
108  %else  %else
109  %define XVID_MOVSX movsx  %define XVID_MOVSXD 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_MOVSX movsx  %define XVID_MOVSXD movsx
   
158  %endif  %endif
159    
160    
# Line 176  Line 175 
175  %endmacro  %endmacro
176    
177  %macro TEXT 0  %macro TEXT 0
178    %ifidn __OUTPUT_FORMAT__,macho
179          SECTION .text align=SECTION_ALIGN
180    %else
181        SECTION .rotext align=SECTION_ALIGN        SECTION .rotext align=SECTION_ALIGN
182    %endif
183  %endmacro  %endmacro
184    
185  %macro cglobal 1  %macro cglobal 1
# Line 200  Line 203 
203                  %endif                  %endif
204          %endif          %endif
205  %endmacro  %endmacro
206    
207    %macro NON_EXEC_STACK 0
208    %ifidn __OUTPUT_FORMAT__,elf
209    section .note.GNU-stack noalloc noexec nowrite progbits
210    %endif
211    %ifidn __OUTPUT_FORMAT__,elf64
212    section .note.GNU-stack noalloc noexec nowrite progbits
213    %endif
214    %endmacro

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

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