OSDN Git Service

PR target/22224
authorro@138bc75d-0d04-0410-961f-82ee72b054a4 <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Apr 2010 16:24:28 +0000 (16:24 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:53:19 +0000 (13:53 +0900)
* config/alpha/osf5.h (ASM_OUTPUT_LOCAL): Redefine.

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

gcc/ChangeLog
gcc/config/alpha/osf5.h

index 8e92d2d..689f70b 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR target/22224
+       * config/alpha/osf5.h (ASM_OUTPUT_LOCAL): Redefine.
+
 2010-04-28  Martin Jambor  <mjambor@suse.cz>
 
        * cgraph.h (struct cgraph_node): New field indirect_calls.
index 406eda4..67348bb 100644 (file)
@@ -238,6 +238,14 @@ __enable_execute_stack (void *addr)                                        \
    ? (((GLOBAL) ? DW_EH_PE_indirect : 0) | DW_EH_PE_pcrel | DW_EH_PE_sdata4) \
    : DW_EH_PE_aligned)
 
+/* The Tru64 UNIX assembler warns on .lcomm with SIZE 0, so use 1 in that
+   case.  */
+#undef ASM_OUTPUT_LOCAL
+#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE,ROUNDED)     \
+( fputs ("\t.lcomm ", (FILE)),                         \
+  assemble_name ((FILE), (NAME)),                      \
+  fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE) ? (SIZE) : 1))
+
 /* This is how we tell the assembler that a symbol is weak.  */
 
 #define ASM_OUTPUT_WEAK_ALIAS(FILE, NAME, VALUE)       \