Fellows,
Here is the new path which introduces new flag
-mstrict-align
Thes forces all local data be aligned at the word boundary.
Usefull if you're using complicated combinations of built-ins and attributes
like 'packed'.
Thanks to G Halkes
cheers,
~d
Patch here if the CVS is down.
===================================================================
RCS file: /cvsroot/mspgcc/gcc/gcc-3.3/gcc/config/msp430/msp430.h,v
retrieving revision 1.26
diff -r1.26 msp430.h
56c56
< #define MASK_INT8 0x00002000
---
> #define MASK_STRICT_ALIGN 0x00002000
71c71
< #define TARGET_INT8 (target_flags & MASK_INT8)
---
> #define TARGET_STRICT_ALIGN (target_flags & MASK_STRICT_ALIGN)
82a83
> { "strict-align", MASK_STRICT_ALIGN,N_("Atrict alignment for all
structures") }, \
110a112
>
154c156
< #define STRICT_ALIGNMENT 0
---
> #define STRICT_ALIGNMENT TARGET_STRICT_ALIGN
158c160
< #define INT_TYPE_SIZE (TARGET_INT8 ? 8 : 16)
---
> #define INT_TYPE_SIZE ( 16)
--
/*****************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ.
(_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314
*****************************************************************/