tools: avoid bit fields on our types
The __BYTE_ORDER == __LITTLE_ENDIAN was failing on lm32, I don't know
why. So dumping on the spec was wrong: "VERSION: unsupported (0)"
The above symbols are defined by glibc, and I didn't even get
undefined macro errors. So the commit kill bit fields, and I mask at
run time instead.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment