[issue1345] [PATCH] Get rid of zero-size arrays in ASSYM/genassym
Matthew Dillon
dillon at apollo.backplane.com
Fri Apr 24 16:18:52 PDT 2009
Ok, after Alex and I did a lot of messing around we came to the
conclusion that the offset hack is the way to go, at least for now.
The basic problem is that we can't generate proper structure sizes
using the NX mechanism when in a cross-build environment. The only
way to do it is to use the cross-built compiler to generate an
object module and then extract the offsets using nm or objdump.
So for now we will go with the offset hack and retain the nm/awk
stuff.
-Matt
More information about the Bugs
mailing list