This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix ASM_OUTPUT_ALIGNED_LOCAL for powerpc-linux
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 May 2003 17:00:40 -0700
- Subject: [PATCH] fix ASM_OUTPUT_ALIGNED_LOCAL for powerpc-linux
I've added this as obvious; without it, builds fail for powerpc-linux
and powerpc64-linux.
2003-05-13 Janis Johnson <janis187@us.ibm.com>
* config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
HOST_WIDE_INT argument.
Index: config/rs6000/sysv4.h
===================================================================
RCS file: /home/janis/gcc_rsync/gcc-cvs/gcc/gcc/config/rs6000/sysv4.h,v
retrieving revision 1.125
diff -u -p -r1.125 sysv4.h
--- config/rs6000/sysv4.h 12 May 2003 22:30:31 -0000 1.125
+++ config/rs6000/sysv4.h 13 May 2003 21:37:53 -0000
@@ -679,7 +679,8 @@ do { \
{ \
fprintf (FILE, "%s", LCOMM_ASM_OP); \
assemble_name ((FILE), (NAME)); \
- fprintf ((FILE), ",%u,%u\n", (SIZE), (ALIGN) / BITS_PER_UNIT); \
+ fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
+ (SIZE), (ALIGN) / BITS_PER_UNIT); \
} \
ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object"); \
} while (0)