Subject: Fun with structure alignment
To: None <port-arm32@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 02/12/2001 23:22:53
I've just been reminded of the awkward state of structure alignment in
NetBSD/arm32, and it looks to me like this could actually turn out to be a
serious problem.

The problem is that some of the structures passed between the kernel and
user space (e.g. struct wscons_keymap) are affected by changing the
structure padding rules.  This means that if NetBSD/arm32 is going to move
to the standard ARM padding rules, there'll need to be a compatibility
layer to allow old binaries to run.  Anyone feel like implementing it?

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>