When allocating a common object, ALIGN is in bits, but common expects

bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
This commit is contained in:
rearnsha 2003-09-29 12:40:35 +00:00
parent 6adf4a4e77
commit f539610cfa
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ Boston, MA 02111-1307, USA. */
{ \
fprintf (STREAM, "\t.comm\t"); \
assemble_name (STREAM, NAME); \
fprintf (STREAM, ", %d, %d\n", SIZE, ALIGN); \
fprintf (STREAM, ", %d, %d\n", SIZE, ALIGN / BITS_PER_UNIT); \
} \
while (0)