platform_bionic/libc
Elliott Hughes 40596aa005 Make cpp.py less braindead.
The old code ignored operator precedence (!), despite having two tables
of operator precedence. The code's still pretty awful, but I've cleaned
it up enough to fix this, the most important bug.

This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files,
and also fixes the mess we were already making of various old kernel
header files. I've added a bunch more tests, fixed the existing tests that
the existing script was already failing (!), and changed the script so that
the tests are run every time the script is run.

We can probably remove some of the old kernel header files that we were
parsing incorrectly, but we can worry about that later.

Bug: 11253477
Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
2013-11-06 12:04:48 -08:00
..
arch-aarch64 AArch64: Autogenerated syscalls for AArch64 2013-10-28 16:18:42 -07:00
arch-arm Fix the exit syscall stub's name. 2013-10-24 22:41:50 -07:00
arch-common/bionic Fix 16-byte stack alignment requirement for x86_64 ABI 2013-10-21 17:36:28 -07:00
arch-mips Fix the exit syscall stub's name. 2013-10-24 22:41:50 -07:00
arch-x86 Fix the exit syscall stub's name. 2013-10-24 22:41:50 -07:00
arch-x86_64 Fix the exit syscall stub's name. 2013-10-24 22:41:50 -07:00
bionic Remove unnecessary #include. 2013-11-05 11:59:06 -08:00
include Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
kernel Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
netbsd Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
private <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
stdio Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
stdlib AArch64: Add support for AArch64 to stdlib/strtod.c 2013-10-28 16:24:51 -07:00
string Optimize __memset_chk, __memcpy_chk. DO NOT MERGE. 2013-08-14 18:14:43 -07:00
tools AArch64: Add support for AArch64 to the syscall interface 2013-10-28 16:16:34 -07:00
tzcode Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
unistd Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols. 2013-08-12 12:07:05 -07:00
upstream-netbsd Fix the *rand48 functions on LP64. 2013-10-28 15:24:26 -07:00
wchar Switch to upstream-freebsd for the unmolested wchar code. 2013-03-01 18:35:56 -08:00
zoneinfo Upgrade to tzdata2013h. 2013-10-28 09:38:00 -07:00
Android.mk Move the pthread debugging flags to the right place. 2013-10-31 14:09:39 -07:00
MODULE_LICENSE_BSD
NOTICE libc/arch-arm/bionic/memcpy.a9.S: memcpy from cortex-strings. 2013-07-03 10:20:43 -07:00
SYSCALLS.TXT AArch64: Add support for AArch64 to the syscall interface 2013-10-28 16:16:34 -07:00