This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Yet another ARM alignment question


I've read through the eCos list regarding ARM alignment problems and am
wondering if anyone out there can lend a few suggestions. I am faced with a
general porting problem of some legacy Intel code. Of course all the
structures were packed on byte boundaries and with some having structures
within structures.

My question is has anyone solved the word and dword alignment problems on
ARM? Is is any combination of gcc compiler options that will overcome this
limitation albeit at a performance cost. What about an alignment trap
handler? Anyone have any sample code on how to write one of these or a
pointer to some good documentation?

Thanks again in advance,

Wilson


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]