Blame src/thread/nt32/syscall_cp.s

296178
.text
6eaa6b
.globl ___cp_begin
6eaa6b
.globl ___cp_end
6eaa6b
.globl ___cp_cancel
6eaa6b
.globl ___syscall_cp_asm
6eaa6b
6eaa6b
.def ___cp_begin;       .scl 2; .type 32; .endef
6eaa6b
.def ___cp_end;         .scl 2; .type 32; .endef
6eaa6b
.def ___cp_cancel;      .scl 2; .type 32; .endef
6eaa6b
.def ___syscall_cp_asm; .scl 2; .type 32; .endef
296178
296178
___syscall_cp_asm:
296178
___cp_begin:
c5e6e5
	mov 	(%ecx),	%ecx	# check content of ptr
296178
	test	%ecx,	%ecx
6eaa6b
	jnz	___cp_cancel	# thread is pending cancellation
296178
296178
	jmp	___syscall
296178
296178
___cp_end:
296178
	ret
fa55cc
6eaa6b
___cp_cancel:
6eaa6b
	jmp	___cancel
6eaa6b
fa55cc
        .section .got$___syscall_cp_asm
fa55cc
        .global __imp____syscall_cp_asm
fa55cc
__imp____syscall_cp_asm:
fa55cc
        .long   ___syscall_cp_asm
fa55cc
        .linkonce discard
fa55cc
fa55cc
        .section .got$___cp_begin
fa55cc
        .global __imp____cp_begin
fa55cc
__imp____cp_begin:
fa55cc
        .long   ___cp_begin
fa55cc
        .linkonce discard
fa55cc
fa55cc
        .section .got$___cp_end
fa55cc
        .global __imp____cp_end
fa55cc
__imp____cp_end:
fa55cc
        .long   ___cp_end
fa55cc
        .linkonce discard
6eaa6b
6eaa6b
        .section .got$___cp_cancel
6eaa6b
        .global __imp____cp_cancel
6eaa6b
__imp____cp_cancel:
6eaa6b
        .long   ___cp_cancel
6eaa6b
        .linkonce discard