[PATCH 03/12] nptl/Makefile.in: Append $(SYMBOL_PREFIX) to symbol names
Markos Chandras
markos.chandras at gmail.com
Thu Feb 21 17:05:21 UTC 2013
On 21 February 2013 15:23, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 21 February 2013 16:07, Markos Chandras <markos.chandras at gmail.com> wrote:
>> On 21 February 2013 14:03, Bernhard Reutner-Fischer
>> <rep.dot.nop at gmail.com> wrote:
>
>>>> + -Wl,-z,nodelete,-z,initfirst,-init=$(SYMBOL_PREFIX)__pthread_initialize_minimal_internal
>>>
>>> mhm. I am curious on which arch you needed this?
>>>
>>> PS: It is interesting to see that the -init part is sometimes
>>> encountered by people but apparently never the -fini one as in
>>> dl_cleanup?
>>
>> Hi Bernhard,
>>
>> It's needed by the Meta arch port which I just submitted. Meta
>> prefixes symbols with "_". See the Rules.mak changes in the [07/12]
>> patch (once it reaches the mailing list). It's also needed by
>> h8300,bfin,i960 and v850 which also have SYMBOL_PREFIX=_
>
> ok, and why does it work for aforementioned fini, or do you just support static?
Hi Bernhard,
Now that I think about it, this patch is not needed. binutils 2.22 was
"fixed" to not take into account the leading "_" underscore for arches
anymore so there should be no problem during the linking phase. I will
double check that removing this patch does not break anything.
--
Regards,
Markos Chandras
More information about the uClibc
mailing list