+2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
+
+ * varasm.c (output_constructor): Add .align 0 for packed vars.
+
2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.in: Use default thread_file even when enable_threads is
assemble_zeros (bitpos - total_bytes);
total_bytes = bitpos;
}
+ else if (field != 0 && DECL_PACKED (field))
+ {
+ /* Some assemblers automaticallly align a datum according to
+ its size if no align directive is specified. The datum,
+ however, may be declared with 'packed' attribute, so we
+ have to disable such a feature. */
+
+ ASM_OUTPUT_ALIGN (asm_out_file, 0);
+ }
/* Determine size this element should occupy. */
if (field)