Inquiry about RTL
Jim Wilson
wilson@tuliptree.org
Tue Aug 19 23:00:00 GMT 2003
SRUTHY C.N. wrote:
> then why can't the next int var (int takes 4 byte) take offset -6? why it
> is taking offset -8?
Alignment. -6 is not a 4-byte aligned address.
> please tell me where can I get such details?
See the ABI documentation for your target. You didn't mention the
target, but assuming it is x86-linux, see
http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/IA32/spec/book1.html
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list