re PR target/22224 (Several Tru64 UNIX testsuite failures: Length of .lcomm was less than 1)

PR target/22224
	* config/alpha/osf5.h (ASM_OUTPUT_LOCAL): Redefine.

From-SVN: r158831
This commit is contained in:
Rainer Orth 2010-04-28 16:24:28 +00:00 committed by Rainer Orth
parent e33c6cd6af
commit 902a51a10d
2 changed files with 13 additions and 0 deletions

View 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.

View 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) \