Message ID | 00be01d5693e$817cdb70$84769250$@uni-ulm.de |
---|---|
State | New |
Headers | show |
Series | AW: Fix for type confusion bug on microblaze | expand |
On 9/12/19 1:48 AM, Jonas Pfeil wrote: > Yes, you are correct. Tested it and it works as intended. > > Thanks, > > Jonas > > --- a/gcc/config/microblaze/microblaze.h > +++ b/gcc/config/microblaze/microblaze.h > @@ -695,7 +695,7 @@ do { \ > fprintf (STREAM, "\t.align\t%d\n", (LOG)) > > #define ASM_OUTPUT_SKIP(STREAM,SIZE) \ > - fprintf (STREAM, "\t.space\t%lu\n", (SIZE)) > + fprintf (STREAM, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE)) > > #define ASCII_DATA_ASM_OP "\t.ascii\t" > #define STRING_ASM_OP "\t.asciz\t" THanks. I'll be installing this momentarily on the trunk. jeff
--- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -695,7 +695,7 @@ do { \ fprintf (STREAM, "\t.align\t%d\n", (LOG)) #define ASM_OUTPUT_SKIP(STREAM,SIZE) \ - fprintf (STREAM, "\t.space\t%lu\n", (SIZE)) + fprintf (STREAM, "\t.space\t" HOST_WIDE_INT_PRINT_UNSIGNED "\n", (SIZE)) #define ASCII_DATA_ASM_OP "\t.ascii\t" #define STRING_ASM_OP "\t.asciz\t"