Use __fcntl() exclusively within glibc (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 21 Jul 2015 20:11:30 +0000 (16:11 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 Jul 2015 07:05:14 +0000 (03:05 -0400)
commite49fb234d6454f27379064c144df9857551c81eb
tree1e6b66c29ebd27a97f98528e1fa466f56ab99aa7
parent8f25a6f3ecde7ab59b0d3f2781f09bd7e54a1499
Use __fcntl() exclusively within glibc (XCC)

In an upcoming commit, I'll need to have two versions of fcntl, one used
internally in glibc, and one used outside.  This makes it such that
glibc only uses __fcntl.

I needed to bring in some sysdeps.  In future versions of glibc, some
files may use fcntl(), and some of these sysdeps may start using
__fcntl.  We just need to be on the lookout.

Rebuild glibc.
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/check_fds.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/dup.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/dup2.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/fsync.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/posix_fadvise.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/posix_fadvise64.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/shm_open.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/sotruss-lib.c [new file with mode: 0644]