Static libraries forced to be PIC

Carmelo Amoroso carmelo73 at gmail.com
Tue Oct 17 09:00:29 UTC 2006


Mike Frysinger wrote:
> On Sunday 15 October 2006 09:39, Carmelo Amoroso wrote:
>> I'm sorry, but I had to be more precise...so you're right except for the
>> SuperH (sh4 core) for which, as I wrote,
>> sh4 => FORCE_SHAREABLE_TEXT_SEGMENT => DOPIC (if HAVE_SHARED is on).
>> (refer to extra/Configs/Config.sh)
> 
> this is the first time you mentioned force shareable or the fact you're using 
> superh
> 
I'm sorry again for this...
>> So, is this different behavior for SH4 needed, or is it just a bug?
> 
> not sh4 specific ... i'm pretty sure DOPIC is not required for 
> FORCE_SHAREABLE_TEXT_SEGMENTS
> 
Uhm, not really. If you have FORCE_SHAREABLE_TEXT_SEGMENTS defined (as 
it is for sh4), and DOPIC=n, then the dynamic loader will refuse to load
any DSO flagged with TXTREL.


> can probably drop the 'select DOPIC' from Config.in
More probably it's better to remove 'select 
FORCE_SHAREABLE_TEXT_SEGMENTS' from Config.sh

--Carmelo




More information about the uClibc mailing list