uClibc: ldso/libdl: Also include dl-tls.h for for !SHARED.
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 11 Sep 2014 12:51:18 +0000 (13:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 12 Oct 2014 15:53:35 +0000 (17:53 +0200)
commitc0b4c45780e4ffe23101a407e7c4cde22e27815a
tree120ed64bd09ec98e875a3ad8dfae298ca2840e2a
parentf89d90d605d5cf3b683258611d78c8cc4e9f531b
uClibc: ldso/libdl: Also include dl-tls.h for for !SHARED.

Apply an upstream patch:

  http://git.uclibc.org/uClibc/commit/ldso/libdl/libdl.c?id=b57e9640db53166c88cdac66b79a046e46b8d728

On MIPS, several relocations that were original only resolved by the
dynamic linker were reused as static relocations.  Consequently the
macros TLS_DTPREL_VALUE and TLS_TPREL_VALUE defined in
libpthread/nptl/sysdeps/mips/dl-tls.h need to be available even for
!SHARED.

Relevant: http://www.linux-mips.org/wiki/NPTL#History

Fixes:

  http://autobuild.buildroot.net/results/85e/85e66962da9a6b80e1d1b721031b6ef0da45e3d5/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc/0.9.33.2/uclibc-0062-ldso-libdl-Also-include-dl-tls.h-for-for-SHARED.patch [new file with mode: 0644]