]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
varasm.c (asm_output_bss): Always output one byte.
authorRichard Henderson <rth@redhat.com>
Fri, 24 May 2002 19:22:11 +0000 (12:22 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 24 May 2002 19:22:11 +0000 (12:22 -0700)
        * varasm.c (asm_output_bss): Always output one byte.
        * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.

From-SVN: r53850

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

index af5dd08dbf02adefef1c38b8866b34da1f461c4f..4dbf681b76fb2337a2a596fb3fad197ebdabf009 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  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        PR preprocessor/6780
index 05853c2e1088a6921027310544c6df2b89876ebd..9f8d808f4c7fdcf80d99574060b30d4aa3d8c122 100644 (file)
@@ -165,7 +165,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 8213ffd82839e45e01f54127b9a1fa47971744e7..3f9fd213366fde2fd675448d07dcf851418091ae 100644 (file)
@@ -516,7 +516,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