Rob Landley wrote:
I'm confused: it looks like (at a quick glance, which is all I'm up for at the moment with this cold) that the patch makes it put the static variables into bss, which is _not_ a common section...?
Exactly. At least only OS (DragonFly) this is necessary. Gcc does this on Linux as well, so I figured that should at least not be wrong. I'm no expert in linking, but it occured to me that the common section is only for global symbols which in the end get merged to one, i.e. the same global symbol defined in multiple objects. Obviously, this is never the case for static symbols: they all need to be created and may never be merged. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel