tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: AMAP_SHARED (was Re: XIP)



On Tue, Nov 02, 2010 at 01:35:10PM +0900, Masao Uebayashi wrote:
> If a small program has both .data and .bss, and if .data is small,
> I'd use .rodata and copy it to .bss explicitly, so that resulting
> process allocates only .bss anon instead .data + .bss.

Why don't you do the reverse and drop .bss explicitly by linker scripts?

Joerg


Home | Main Index | Thread Index | Old Index