33 |
|
|
34 |
%macro cglobal 1 |
%macro cglobal 1 |
35 |
%ifdef PREFIX |
%ifdef PREFIX |
36 |
|
%ifdef MARK_FUNCS |
37 |
|
global _%1:function %1.endfunc-%1 |
38 |
|
%define %1 _%1:function %1.endfunc-%1 |
39 |
|
%else |
40 |
global _%1 |
global _%1 |
41 |
%define %1 _%1 |
%define %1 _%1 |
42 |
|
%endif |
43 |
|
%else |
44 |
|
%ifdef MARK_FUNCS |
45 |
|
global %1:function %1.endfunc-%1 |
46 |
%else |
%else |
47 |
global %1 |
global %1 |
48 |
%endif |
%endif |
49 |
|
%endif |
50 |
%endmacro |
%endmacro |
51 |
|
|
52 |
;============================================================================= |
;============================================================================= |
54 |
;============================================================================= |
;============================================================================= |
55 |
|
|
56 |
%ifdef FORMAT_COFF |
%ifdef FORMAT_COFF |
57 |
SECTION .rodata data |
SECTION .rodata |
58 |
%else |
%else |
59 |
SECTION .rodata data align=16 |
SECTION .rodata align=16 |
60 |
%endif |
%endif |
61 |
|
|
62 |
align 4 |
align 4 |
410 |
|
|
411 |
xor eax, eax |
xor eax, eax |
412 |
ret |
ret |
413 |
|
.endfunc |
414 |
|
|
415 |
|
|
416 |
|
|
567 |
pop ebx |
pop ebx |
568 |
|
|
569 |
ret |
ret |
570 |
|
.endfunc |
571 |
|
|
572 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
573 |
; |
; |
719 |
|
|
720 |
xor eax, eax |
xor eax, eax |
721 |
ret |
ret |
722 |
|
.endfunc |
723 |
|
|
724 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
725 |
; |
; |
782 |
|
|
783 |
xor eax, eax |
xor eax, eax |
784 |
ret |
ret |
785 |
|
.endfunc |
786 |
|
|