If a function calls both cygwin and Windows functions the binary creates
extra subroutine (in assembly) for cygwin ones. Example:

* Windows function:

   call cs:CreatePipe

* cygwin function:

   call ioctl

   ioctl proc near
   jmp cs:__imp_ioctl
   endp

The binary is statically compiled. Why there are extra subroutines? Is this
"by-design"? Or am I missing something?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to