This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Packed on a Arm Evaulation Board
- To: jens dot ohlund at secrc dot abb dot se
- Subject: Re: [ECOS] Packed on a Arm Evaulation Board
- From: Jesper Skov <jskov at redhat dot com>
- Date: 20 Jun 2000 17:20:24 +0200
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <OF0094F881.41E32A38-ONC1256904.0051B59E@secrc.abb.se>
Try this:
struct snejs
{
char bokstav1 __attribute__ ((aligned(2));
char bokstav2 __attribute__ ((aligned(2));
char bokstav3 __attribute__ ((aligned(2));
char bokstav4 __attribute__ ((aligned(2));
short siffra1 __attribute__ ((aligned(2));
long siffra2;
} mojs __attribute__ ((packed);
Jesper