m68k structure packing

Jim Wilson wilson@cygnus.com
Thu Oct 2 20:14:00 GMT 1997


	Maybe what you are asking for is a "semi-packed" option.

You can get this by using something like
	__attribute__ ((packed, aligned(2)))
The attribute packed decreases alignment to 1 byte, and then the attribute
aligned increases it to 2 bytes.

Jim



More information about the Gcc mailing list