varasm.c (asm_output_bss): Always output one byte.
authorRichard Henderson <rth@redhat.com>
Fri, 24 May 2002 18:30:48 +0000 (11:30 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 24 May 2002 18:30:48 +0000 (11:30 -0700)
        * varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

From-SVN: r53847

gcc/ChangeLog
gcc/config/alpha/elf.h
gcc/varasm.c

index 53d4d0dccd86c9e7f01e03f6661648eacd81ebd5..35e91c49add2d85b33ad16ce840432b1308f0ae5 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-24  Richard Henderson  <rth@redhat.com>
+
+        * varasm.c (asm_output_bss): Always output one byte.
+        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
+
 2002-05-24  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
        * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
index 722ff5e42a8f7fdfcb35fa483003c35a382b5486..486124af014c9adcadb2464d7fbbf610f4837813 100644 (file)
@@ -158,7 +158,7 @@ do {                                                                        \
     }                                                                  \
   ASM_OUTPUT_ALIGN ((FILE), exact_log2((ALIGN) / BITS_PER_UNIT));      \
   ASM_OUTPUT_LABEL(FILE, NAME);                                                \
-  ASM_OUTPUT_SKIP((FILE), (SIZE));                                     \
+  ASM_OUTPUT_SKIP((FILE), (SIZE) ? (SIZE) : 1);                                \
 } while (0)
 
 /* This says how to output assembler code to declare an
index 8a7f949245ca2e5fa57167cc44e3c2a12d66dac0..89eb47e92dc2af2ab9b78e8fe7fd827a6c837e3c 100644 (file)
@@ -525,7 +525,7 @@ asm_output_bss (file, decl, name, size, rounded)
   /* Standard thing is just output label for the object.  */
   ASM_OUTPUT_LABEL (file, name);
 #endif /* ASM_DECLARE_OBJECT_NAME */
-  ASM_OUTPUT_SKIP (file, rounded);
+  ASM_OUTPUT_SKIP (file, rounded ? rounded : 1);
 }
 
 #endif