OSDN Git Service

* arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2002 15:14:14 +0000 (15:14 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Sep 2002 15:14:14 +0000 (15:14 +0000)
at least one byte of space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57441 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7ac371b..50a94b3 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 ade3f48..7f9211b 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)