[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Do not put static variables into a common section.
From: |
Rob Landley |
Subject: |
Re: [Tinycc-devel] Do not put static variables into a common section. |
Date: |
Mon, 27 Aug 2007 00:41:18 -0500 |
User-agent: |
KMail/1.9.6 |
On Sunday 26 August 2007 6:24:31 pm Simon 'corecode' Schubert wrote:
> This is at least needed for DragonFly, so perhaps also for *BSD.
>
> Otherwise static variables won't get a proper offset when linking (with gnu
> ld).
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...?
Could you explain slightly more, please?
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.