[LLVMdev] ambiguity of .align

Sandeep Patel deeppatel1987 at gmail.com
Tue Jan 26 14:28:38 PST 2010


FWIW, I now realize that I originally submitted this on 11/5/09 and
forgot to ping it. Sorry about that.

deep

On Tue, Jan 26, 2010 at 6:06 PM, Rafael Espindola <espindola at google.com> wrote:
> 2010/1/25 Sandeep Patel <deeppatel1987 at gmail.com>:
>> Assuming you're working with an ARM target, you may also hit a problem
>> with the alignment option on the .comm directive.
>>
>> Attached is a first-cut patch for this latter problem.
>
> I have updated your patch to reflect the recent changes. I have also
> updated the tests. I have checked that it produces
> ---------------------------
> .comm   bar,75,128
> ----------------------------
>
> and
>
> ---------------------
>        .align  7
> foo:
> --------------------
>
> and that that is what gas for ARM expects.
>
>
> Chris, do you think it is OK?
>
>> deep
>
> Cheers,
> --
> Rafael Ávila de Espíndola
>




More information about the llvm-dev mailing list