Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | deduplicate bits/mman.h | Szabolcs Nagy | 2016-03-18 | 1 | -0/+0 |
| | | | | | | | | | | | currently five targets use the same mman.h constants and the rest share most constants too, so move them to sys/mman.h before the bits/mman.h include where the differences can be corrected by redefinition of the macros. this fixes two minor bugs: POSIX_MADV_DONTNEED was wrong on most targets (it should be the same as MADV_DONTNEED), and sh defined the x86-only MAP_32BIT mmap flag. | ||||
* | deduplicate the bulk of the arch bits headers | Rich Felker | 2016-01-27 | 15 | -0/+644 |
all bits headers that were identical for a number of 'clean' archs are moved to the new arch/generic tree. in addition, a few headers that differed only cosmetically from the new generic version are removed. additional deduplication may be possible in mman.h and in several headers (limits.h, posix.h, stdint.h) that mostly depend on whether the arch is 32- or 64-bit, but they are left alone for now because greater gains are likely possible with more invasive changes to header logic, which is beyond the scope of this commit. |