| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 11559337
Change-Id: I70e205ff1f5acd07fddd7d82367e818b13847acd
|
|
|
|
|
| |
Bug: 11559337
Change-Id: I6352cac9c4ef425cb21e34d0299223711ec079af
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Manual changes:
cpp.py: cope with macros that refer to other macros.
defaults.py: x86 no longer always implies __i386__; use __i386__ to replace
the kernel CONFIG_X86_32 flag.
asm/page.h: the upstream page.h isn't a uapi header and no longer includes
the stuff we were using it for. Let's just have our own static file, since
it's the same for all our architectures (both 32- and 64-bit).
sys/select.h: we used to use the various FD_SET-related macros from the
kernel header files, but they've gone. Adjust by adding trivial equivalent
definitions.
Automated changes:
libc/kernel/arch-x86, libc/kernel/common: regenerated from
external/kernel-headers.
Change-Id: I84fc0ed52dc742e043b4ae300fd3b58ee99b7fcd
|
|
|
|
|
|
| |
And fix the scripts so they stop letting trailing whitespace through.
Change-Id: Ie109fbe1f63321e565ba0fa60fee8e9cf3a61cfc
|
|
|
|
|
|
|
|
| |
Replace a kernel header file dependency with files from NetBSD.
They're more complete, and ELF is ELF, whether you're on Linux or a BSD.
Bug: 7973611
Change-Id: I83ee719e7efdf432ec2ddbe8be271d05b2f558d7
|
|
|
|
| |
based on architecture.
|
|
|
|
| |
Change-Id: Ied4e3ca765672ebaebe9d4d0909b3278c2ff3cd8
|
|
|
|
| |
Change-Id: I8756a862669d4e5f283945496983f11a59dea30c
|
|
|
|
|
|
| |
Some of the required structure definitons are defined under this macro.
Change-Id: I7a9a986e371381697dcb56bd8ea362856ffa7509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the Linux kernel handed over responsibility for most of the
socket constants to glibc some time ago. Someone had updated our
external/kernel-headers file but not regenerated the bionic headers,
so this change copies the missing stuff from the old bionic <linux/socket.h>
into <sys/socket.h>. This is what glibc does.
I've hacked a few of the other files to #include <sys/socket.h> for
backward compatibility, but even so this requires numerous other
changes to switch people over from direct inclusion of <linux/...> headers.
Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
|
|
|
|
| |
Change-Id: Ie292c091cbf4b972e1b5faa7d779645c6e4442f0
|
|
|
|
| |
Change-Id: I8b3734e535711ca07fbf4066e6d967d1ce0f30eb
|
|
|
|
| |
Change-Id: I34fd0b0147fa33fd74c13480bc11827634233a41
|
|
|
|
|
| |
This is a clean header generated from the corresponding change in
external/kernel-headers repository. (CL 35760)
|
|
libc/kernel/tools/update_all.py script. This patch ignores
any changes to libc/kernel directory not related to MIPS
architecture.
Change-Id: I2c9e461dccb7c33eb4420be2db1a562f45137c8d
Signed-off-by: Raghu Gandham <raghu@mips.com>
Signed-off-by: Chris Dearman <chris@mips.com>
|