BigDisk project: du(1) 64bit clean.

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Jan 4 23:05:26 PST 2005


On Tue, Jan 04, 2005 at 07:46:06PM -0800, Doug White wrote:
+> Now there is a question if gcc will do something odd to that embedded
+> struct for alignment purposes. I haven't checked the original code for
+> __packed, however...

I checked where fields are placed after and before this change on all our
archs and ABI is preserved. I wrote a small tool for this purpose if you
want to play:

	http://people.freebsd.org/~pjd/ftstest.tbz

	% tar -jvxf ftstest.tbz
	% cd ftstest
	% make
	% old/oldfts
	% new/newfts

It shows addresses of few fields in the structure.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20050105/23419b44/attachment.bin


More information about the freebsd-arch mailing list