unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate at least one byte...
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 23 Sep 2002 15:14:14 +0000 (15:14 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 23 Sep 2002 15:14:14 +0000 (15:14 +0000)
* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
at least one byte of space.

From-SVN: r57441

gcc/ChangeLog
gcc/config/arm/unknown-elf.h

index 7ac371b7f1fe3d8f1913761646148c75964d9775..50a94b3b8584b4d073aa7c51d9595e2e2d7c4e35 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
+       at least one byte of space.
+
 2002-09-23  Mark Mitchell  <mark@codesourcery.com>
 
        * c-common.h (flag_abi_version): Fix typo in comment.
index ade3f4889135f465d1c3ab8155fc50661fbc77b7..7f9211b18c0a12f34a45182a8105c874e75f4bad 100644 (file)
@@ -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)