commit | c9e982b879465ca74e3593ce82808aa259265a71 | [log] [tgz] |
---|---|---|
author | Ilya Leoshkevich <iii@linux.ibm.com> | Wed Oct 13 18:09:00 2021 +0200 |
committer | Andrii Nakryiko <andrii@kernel.org> | Wed Oct 20 11:40:01 2021 -0700 |
tree | 2d6ad1683185134022b06fd4af2aa7fa75dbb198 | |
parent | b16d12f3900283e00aded9131ba1e9b2880513c3 [diff] |
libbpf: Fix dumping big-endian bitfields On big-endian arches not only bytes, but also bits are numbered in reverse order (see e.g. S/390 ELF ABI Supplement, but this is also true for other big-endian arches as well). Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211013160902.428340-3-iii@linux.ibm.com