aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-05-13 10:23:16 +0200
committerDmitry Vyukov <dvyukov@google.com>2019-05-13 10:26:57 +0200
commit000f08bb1864d570d5652d621e34f73ecf54626a (patch)
tree6339f0fa251f334be5bcd8fa9414ad0ee5c7e7b2 /executor/syscalls.h
parentaa8482aa8acbe261c9413fd4179e8163069b7605 (diff)
sys/linux: switch ppc64le to little-endian
make extract recently broke for powerpc on linux-next with: include/uapi/linux/byteorder/big_endian.h:6:2: error: #error "Unsupported endianness, check your toolchain" #error "Unsupported endianness, check your toolchain" Turns out we always built ppc64le headers as big-endian. First, kernel was configured as BE. Then, we used gcc to build an executable program for host and on x86 gcc does not define __LITTLE_ENDIAN__ so kernel thought that the toolchain is BE too. Configure kernel as LE and define __LITTLE_ENDIAN__. This actually changes values of some consts, but fortunately just few of them.
Diffstat (limited to 'executor/syscalls.h')
0 files changed, 0 insertions, 0 deletions