Clean up x86_64 sysdeps (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 12 Sep 2016 20:15:08 +0000 (16:15 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 16 Sep 2016 18:35:09 +0000 (14:35 -0400)
commit68fe81c413327fdcb0167092fe37b21e8c8f7517
tree8fc115f10a6d35005d04a041f95e653a57398ed6
parent665417ee428b2c01f6617ec4a5c79938fe468879
Clean up x86_64 sysdeps (XCC)

Our sysdep.h was just including Linux's, which was a mild surprise when
trying to debug the PTR_MANGLE / atexit() bug.  We don't need a lot of the
stuff that is Linux dependent.

Our sysdep.h now just contains a few things copy-and-pasted from the Linux
header, and it doesn't include things like __NR_pread, LOAD_REGS, and other
syscall-ABI specific things.

Rebuild glibc.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/x86_64/sysdep.h