svn commit: r195767 - in head: . cddl/lib cddl/lib/libctf cddl/lib/libdtrace gnu/lib/libdialog gnu/lib/libg2c gnu/lib/libobjc gnu/lib/libreadline gnu/lib/libregex lib lib/libalias/libalias lib/liba...

Dag-Erling Smørgrav des at des.no
Tue Jul 21 15:45:22 UTC 2009


John Baldwin <jhb at freebsd.org> writes:
> Gordon Tetlow <gordon at tetlows.org> writes:
> >  Is there a way to detect ABI changes automatically?  [...]
> I am not aware of one, and I think it would be hard to detect things like
> changes in structure layout (e.g. you can have an ABI change w/o changing
> the size if you just reorder fields).

You can catch that with a script that parses the output of cpp on the
header that defines the struct and has knowledge of the sizes of various
types and the alignment and padding rules for that particular platform.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list