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]

Re: Compilation Warning


> 7: warning: alignment of `tty_io_diag' is greater than maximum object file
> alignment. Using 4.
 
This is a problem i ran into on the ARM architecture. Jifl modified
the HAL table macros to use 8 bytes alignment by default. This causes
problems on some targets where the compiler does not support this
alignment. Have a look at the arm basetype.h. It should have at the end

#define CYGARC_ALIGNMENT 4
#define CYGARC_P2ALIGNMENT 2

You need the same in the i386 basetype.h

        Andrew

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