Re: [PATCH] scripts/sorttable: Fix ORC unwind table sorting on big endian

2020-11-24 Thread Vasily Gorbik
On Sat, Nov 14, 2020 at 01:53:10PM +0100, Vasily Gorbik wrote: > Currently when x86_64 kernel is cross compiled on big endian hardware > ORC unwind table is not sorted correctly. Due to missing byte swaps and > treating size as 4-byte value ORC sections sizes end up as 0 and the > problem is silent

[PATCH] scripts/sorttable: Fix ORC unwind table sorting on big endian

2020-11-14 Thread Vasily Gorbik
Currently when x86_64 kernel is cross compiled on big endian hardware ORC unwind table is not sorted correctly. Due to missing byte swaps and treating size as 4-byte value ORC sections sizes end up as 0 and the problem is silently ignored. Make ORC unwind table sorting endianness aware. Signed-of