On 4/21/2010 11:44 AM, Jamie Lokier wrote:
>> I was under the impression that for NOMMU, binary Text segments could
>> NOT be shared. How are you getting the kernel to share the text areas?
>> For me, every copy of BB is taking up a new 256kB chunk.  I am running
>> on an ARM7TDMI, you?
>>     
> You can use XIP in RAM on ARM7TDMI to share text segments.
>
> On other arches, FD-PIC also works, but not on ARM at present.
>
>   

Hmm, how do you turn this on when compiling then? Is it an elf2flt flag,
or do you need a special arm toolchain built with "-fpic
-msingle-pic-base"? Do you have to use RAMFS, or can this be done with
the standard ROMFS image?

-JB

> -- Jamie
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
>   

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to