aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-09-27 15:28:51 -0400
committerDJ Delorie <dj@gcc.gnu.org>2004-09-27 15:28:51 -0400
commit43f51151e2983568f53c011bb19ca9999abfab0d (patch)
treea313af06e4991c7820c3a77f7cd9953eb52f3a99
parent6337c1a2e830c168756f8ae9f9573aed4d12040d (diff)
downloadgcc-43f51151e2983568f53c011bb19ca9999abfab0d.zip
gcc-43f51151e2983568f53c011bb19ca9999abfab0d.tar.gz
gcc-43f51151e2983568f53c011bb19ca9999abfab0d.tar.bz2
stormy16.c (xstormy16_asm_output_aligned_common): ..comm alignment is bytes, not bits.
* config/stormy16/stormy16.c (xstormy16_asm_output_aligned_common): .comm alignment is bytes, not bits. From-SVN: r88194
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/stormy16/stormy16.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a2999c6..623ad70 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-27 DJ Delorie <dj@redhat.com>
+
+ * config/stormy16/stormy16.c (xstormy16_asm_output_aligned_common):
+ .comm alignment is bytes, not bits.
+
2004-09-27 Devang Patel <dpatel@apple.com>
* tree-pretty-print.c (dump_generic_node): Print VEC_COND_EXPR.
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index b75703b..76195ca 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -1738,7 +1738,7 @@ xstormy16_asm_output_aligned_common (FILE *stream,
}
fprintf (stream, "\t.comm\t");
assemble_name (stream, name);
- fprintf (stream, ",%u,%u\n", size, align);
+ fprintf (stream, ",%u,%u\n", size, align / BITS_PER_UNIT);
}
/* Mark symbols with the "below100" attribute so that we can use the