(layout_record): Use ADJUST_FIELD_ALIGN to modify alignment of fields

within records.

From-SVN: r11859
This commit is contained in:
Richard Kenner 1996-04-20 21:22:14 -04:00
parent 957a1c3293
commit d42d380a16
1 changed files with 3 additions and 0 deletions

View File

@ -353,6 +353,9 @@ layout_record (rec)
#ifdef BIGGEST_FIELD_ALIGNMENT
desired_align = MIN (desired_align, BIGGEST_FIELD_ALIGNMENT);
#endif
#ifdef ADJUST_FIELD_ALIGN
desired_align = ADJUST_FIELD_ALIGN (field, desired_align);
#endif
/* Record must have at least as much alignment as any field.
Otherwise, the alignment of the field within the record