On 03/23/2011 11:37 AM, Jakub Jelinek wrote: > E.g. for ppc64 that's 1160 bytes, mmix 2104 bytes, ... > But if you think the 6 or so conditionals would be too much burden, just > ignore me.
I suppose we could interpret (a part of?) "version" as a bitmap of features, rather than a serial number... Guh. The entire point of making _Unwind_Context opaque, and inventing libgcc_s, was so that we didn't have to think about these things. There's one and only one copy of the unwind library and all uses of the structure are through accessors. I hate hate hate that I got the export thing wrong at the very beginning. Because, really, if we consider the structure truly public, we can't even change the number of registers for a given port to support new features of the cpu. I don't suppose there's any way that we can declare these old programs Just Broken, and drop this compatibility stuff? r~