On Monday 19 December 2005 14:42, Bastian Blank wrote:
> On Thu, Dec 15, 2005 at 05:26:44PM +0100, Blaisorblade wrote:
> > there is a different amount of padding between fields - on 64-bit
> > machines the natural alignment of __u64 is 8 bytes rather than 4, so 4
> > padding bytes get added between mtime and size on 64-bit binaries.

> Just for the record, the 32 bit allignment of 64 bit values is a i386
> special. Any other linux abis specifies it with 64 bit allignment.

Thanks for the info, and another question - since there is probably other 
stuff to check, are there any other different alignments between i386 and 
x86_64?

IIRC, I saw with gdb that int are 4-byte aligned even on x86_64 - how does it 
go for 2-byte and 1-byte wide fields?
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
___________________________________ 
Yahoo! Messenger: chiamate gratuite in tutto il mondo 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to