gabriel rosenkoetter on Thu, 24 May 2001 17:27:20 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] RedHat 7.1 glibc2.1 Backward compat - revisited


On Thu, May 24, 2001 at 05:20:01PM -0400, Walt Mankowski wrote:
> It may look like i still start one byte after c, but in fact for
> performance reasons the compiler may decide to insert some filler so
> that i can start on an even-byte or perhaps a 4-byte boundary.  We
> were moving some code from a 16-bit to a 32-bit box, and discovered
> that the compiler now wanted to line up int's on addresses divisible
> by 4 instead of by 2.

As well it should.

IA32 requires this. ints don't make sense to the processor otherwise.

       ~ g r @ eclipsed.net


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug