diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/alpha/elf.h | 2 | ||||
-rw-r--r-- | gcc/varasm.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 53d4d0d..35e91c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h index 722ff5e..486124a 100644 --- a/gcc/config/alpha/elf.h +++ b/gcc/config/alpha/elf.h @@ -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 diff --git a/gcc/varasm.c b/gcc/varasm.c index 8a7f949..89eb47e 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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 |