Incorporate new functions into glibc and expose to userland (XCC)
authorDan Cross <crossd@gmail.com>
Thu, 2 Jun 2016 22:28:20 +0000 (18:28 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Jun 2016 12:36:58 +0000 (08:36 -0400)
commitd6036f30abd7c52d8253b5b04ab56e7a45966236
tree2024aa9a9a580dfacd528bde8ce7f4dac5a8aa77
parentcaeeed6577449403ef8f1dc4c874ec6ad748395b
Incorporate new functions into glibc and expose to userland (XCC)

Add an Akaros-only sysdeps/akaros/bits/{stdlib,string}-akaros.h
with prototypes for reallocarray and strlcpy and strlcat respectively.
Modify sysdeps/stdlib.h and sysdeps/string.h to include those headers,
respectively.  Modify Makefile and Versions to export these functions.

Rebuild glibc.

Tested: Wrote, compiled and ran a C program that used all three functions.
Change-Id: Ie1c86c261c398f2db67b1968d51e446b84e42293
Signed-off-by: Dan Cross <crossd@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/Makefile
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/Versions
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/bits/stdlib-akaros.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/bits/string-akaros.h [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/stdlib.h
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/string.h