[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] strip
Olivier Landemarre wrote:
If binutils 2.13 alignment is 4, we should stay at 4, the problem should 
appear when compil dynamic lib or software using dynamic lib . I suppose 
aligment of PureC is too at 4
So compatibility mix of older binutils PureC with new binutils will be 
broken. For example if I compil screen.ldg with new gcc and use it with 
my softwares probably it will crash.
Don't worry.
As long as the "GCC alignment" is the same (actually 2), the structure 
members will stay at the same offsets, and the binaries will be compatible.
The "binutils alignment" is useful only for improving the performances. 
Switching the "binutils alignment" from 4 to 2 will avoid unnecessary 
fillers between object files. But the actual alignment will not be more 
broken than before (because GCC uses a 2-byte alignment).
I will post more information in the Alignment thread.
--
Vincent Rivière