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:
parent
6adf4a4e77
commit
f539610cfa
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue