[EMAIL PROTECTED] schrieb:
> Just realized that the problem of unaligned access to the data in 
> modules.dep.bb can be solved at once by padding the records using:
> size := (size + (4-1)) / 4 * 4,
> where size is the size of the record, 4 is sizeof(uint32_t).
> 
> Attached is the patch for fast modutils.

just a bit salt:
on 64bit boxes you may need an alignment of 8.

gcc has an attribute (aligned) is this something you may like ?

re,
 wh

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to