ensc/dietlibc — pull request #6 by arsv (2014-12-31 15:48:51+00:00)
Title: ppoll, syscall for arm/mips and some minor fixes

Backporting some changes I made for my own project.
The patches are independent (except for arm:syscall which follows mips:syscall), so feel free to cherry-pick them.