diff options
| author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-28 16:24:28 +0000 |
|---|---|---|
| committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-28 16:24:28 +0000 |
| commit | 80962ae714d8152ae4f6f48abe05ed4d9710d5eb (patch) | |
| tree | bc1d61c5077b7be7a9ed505f707acba6390a778e | |
| parent | 799c87118f9c74e999ba3f3390edc6a5346c8752 (diff) | |
| download | ppe42-gcc-80962ae714d8152ae4f6f48abe05ed4d9710d5eb.tar.gz ppe42-gcc-80962ae714d8152ae4f6f48abe05ed4d9710d5eb.zip | |
PR target/22224
* 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
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/alpha/osf5.h | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8e92d2d8850..689f70b1103 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/alpha/osf5.h b/gcc/config/alpha/osf5.h index 406eda4c4f3..67348bb2f97 100644 --- a/gcc/config/alpha/osf5.h +++ b/gcc/config/alpha/osf5.h @@ -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) \ |

