alignment

Hi
   I was wondering if within the TargetDescription string it was
possible to specify different alignment for variables on stack versus
globals. If not, is there any other way to specify that ?

thanks
shrey

Hello

I was wondering if within the TargetDescription string it was
possible to specify different alignment for variables on stack versus
globals. If not, is there any other way to specify that ?

You can always ensure necessary alignment for globals during
asmprinting / codeemission.
This is in fact done inside some backends...

Thanks Anton
   Just to make sure I conveyed my problem, correctly. I would like my
stack laid out at minimum alignment of 2 bytes where as my globals are
are at an alignment of 1 byte. Doesnt this have to be done in some
place such as target data so that all address calculation etc can
work. If it is not so, how can I manage correct address calculation ?

thanks
shrey