diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ac371b7f1f..50a94b3b858 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-09-23 Richard Earnshaw + + * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate + at least one byte of space. + 2002-09-23 Mark Mitchell * c-common.h (flag_abi_version): Fix typo in comment. diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index ade3f488913..7f9211b18c0 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -82,7 +82,7 @@ Boston, MA 02111-1307, USA. */ \ ASM_OUTPUT_ALIGN (FILE, floor_log2 (ALIGN / BITS_PER_UNIT)); \ ASM_OUTPUT_LABEL (FILE, NAME); \ - fprintf (FILE, "\t.space\t%d\n", SIZE); \ + fprintf (FILE, "\t.space\t%d\n", SIZE ? SIZE : 1); \ } \ while (0)