How to change bit-field allocation

Min ZOU zou.min@renesas.com
Mon Sep 6 11:41:00 GMT 2004


HI,

As I know, GCC allocates bit-fields inside a structure from the lowest
addressed byte, i.e. LSB, for little endian. However, I want to reverse
the ordering for the bit-fields allocation, i.e. always from MSB.

How to achieve this in GCC?

Thanks!

-- 
Best Regards

Min



More information about the Gcc mailing list