[PATCH 03/12] nptl/Makefile.in: Append $(SYMBOL_PREFIX) to symbol names
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Feb 21 14:03:57 UTC 2013
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?
More information about the uClibc
mailing list