[PATCH 03/12] nptl/Makefile.in: Append $(SYMBOL_PREFIX) to symbol names

Markos Chandras markos.chandras at gmail.com
Thu Feb 21 15:07:12 UTC 2013


On 21 February 2013 14:03, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> On 21 February 2013 11:12, Markos Chandras <markos.chandras at gmail.com> wrote:
>> From: Markos Chandras <markos.chandras at imgtec.com>
>>
>> Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
>> ---
>>  libpthread/nptl/Makefile.in | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
>> index 158bcae..0008822 100644
>> --- a/libpthread/nptl/Makefile.in
>> +++ b/libpthread/nptl/Makefile.in
>> @@ -145,7 +145,7 @@ LDFLAGS-libpthread.so += $(LDFLAGS)
>>  endif
>>
>>  LDFLAGS-libpthread.so += $(top_builddir)lib/$(UCLIBC_LDSO_NAME)-$(VERSION).so $(top_builddir)lib/libdl-$(VERSION).so \
>> -       -Wl,-z,nodelete,-z,initfirst,-init=__pthread_initialize_minimal_internal
>> +       -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=_

-- 
Regards,
Markos Chandras


More information about the uClibc mailing list