This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Yet another ARM alignment question
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Yet another ARM alignment question
- From: "Wilson Kwan" <wilson at kinesphere dot com>
- Date: Tue, 24 Apr 2001 23:51:49 -0400
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