For a very large number of syscalls, we have conditional
compilation in linux-user/syscall.c. For example:
#if defined(TARGET_NR_epoll_wait) || defined(TARGET_NR_epoll_pwait)
#if defined(TARGET_NR_epoll_wait)
case TARGET_NR_epoll_wait:
#endif
#if defined(TARGET_NR_epoll_pwait)
case TARGET_NR_epoll_pwait:
#endif
...
#endif
However, there's *no* target without these two syscalls,
and no target without (relatively new) epoll_pwait2 -
these 3 are always defined, for every target.
Why do we have these #ifdef's - here, and for multiple
other syscalls?
Can we drop these #ifdefs, and thus simplify the code
significantly?
Thanks,
/mjt