Re: [PATCH v2 0/8] clean up vdso-layout.lds.S

From: H. Peter Anvin
Date: Mon Jun 15 2009 - 14:34:32 EST


Petr Tesarik wrote:
>>>
>> *(COMMON) is BSS, not data...
>
> Very true, but for the vDSO we decided to put both writeable and
> read-only data into one section (called .data for that matter), probably
> to reduce the number of sections and hence also the size of the
> resulting binary.
>

BSS is neither, but I guess for the vDSO there really isn't any such
thing as uninitialized content.

I have to admit feeling funny about that, and I'm wondering if we
shouldn't compile the vDSO with -fno-common.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/