Next: , Up: Pragmas


5.46.1 Altera Nios II Pragmas

The Altera Nios II target defines two pragmas to control the placement of bitfields within a struct.

reverse_bitfields
Cause all subsequent structs to behave as though the -mreverse-bitfields compiler switch had been given. Can be overridden by the no_reverse_bitfields attribute or a subsequent #pragma no_reverse_bitfields.
no_reverse_bitfields
Cause all subsequent structs to behave as though the -mno-reverse-bitfields compiler switch had been given. Can be overridden by the reverse_bitfields attribute or a subsequent #pragma reverse_bitfields.