Add alignment parameter to .comm directives for ELF targets.
authorNick Clifton <nickc@cambridge.redhat.com>
Fri, 4 May 2001 16:16:43 +0000 (16:16 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 4 May 2001 16:16:43 +0000 (16:16 +0000)
From-SVN: r41832

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

index 7b058cce28452ae42e98bbdbc9defe543ee05370..5cb1ffcfb8ead560746be98867351b51619aec88 100644 (file)
@@ -1,3 +1,7 @@
+2001-05-04  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Define.
+
 2001-05-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * alpha.h: NULL_PTR -> NULL.
index bb7be334c1aa4849a9ac572cbc6fd63600b93cea..71fe99b2687ef61a2cb6a22f59cd908e15172689 100644 (file)
@@ -367,6 +367,17 @@ dtors_section ()                                           \
     }                                          \
   while (0)
 
+#ifndef ASM_OUTPUT_ALIGNED_COMMON
+#define ASM_OUTPUT_ALIGNED_COMMON(STREAM, NAME, SIZE, ALIGN)   \
+  do                                                           \
+    {                                                          \
+      fprintf (STREAM, "\t.comm\t");                           \
+      assemble_name (STREAM, NAME);                            \
+      fprintf (STREAM, ", %d, %d\n", SIZE, ALIGN);             \
+    }                                                          \
+  while (0)
+#endif
+
 /* For PIC code we need to explicitly specify (PLT) and (GOT) relocs.  */
 #define NEED_PLT_RELOC flag_pic
 #define NEED_GOT_RELOC flag_pic