This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] nptl: Move pthread_atfork to libc_nonshared.a


On Wed, Feb 28, 2018 at 10:16 AM, Florian Weimer <fweimer@redhat.com> wrote:
> libpthread_nonshared.a is unused after this, so remove it from the
> build.

Yay!

>  # What we install as libpthread.so for programs to link against is in fact a
>  # link script.  It contains references for the various libraries we need.
> -# The libpthread.so object is not complete since some functions are only
> -# defined in libpthread_nonshared.a.
>  # We need to use absolute paths since otherwise local copies (if they exist)
>  # of the files are taken by the linker.
>  install: $(inst_libdir)/libpthread.so
>
>  $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
>                               $(objpfx)libpthread.so$(libpthread.so-version) \
> -                             $(inst_libdir)/$(patsubst %,$(libtype.oS),\
> -                                                       $(libprefix)pthread) \
>                               $(+force)
>         (echo '/* GNU ld script';\
>          echo '   Use the shared library, but some functions are only in';\

Is there still any use for the libpthread.so link script after this?

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]