Re: Problem with FD_SET on mips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Till Elsner <till.elsner@xxxxxxxxxxxxxxxxxx> writes:

> #define __FD_ZERO(fdsp) do { int __d0, __d1; __asm__ __volatile__
> ("cld; rep; stosl" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof
> (fd_set) / sizeof (__fd_mask)), "1" (&__FDS_BITS (fdsp)[0]) :
> "memory"); } while (0)
> # 37 "/usr/include/bits/select.h"
> #define __FD_SET(fd,fdsp) __asm__ __volatile__ ("btsl %1,%0" :  "=m"
> (__FDS_BITS (fdsp)[__FDELT (fd)]) : "r" (((int) (fd)) %  __NFDBITS) :
> "cc","memory")

That's x86 code, not MIPS code.  There is something wrong with your
header files.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux