xtensa: fix static linking
commit6579597083e608f5a66fe8a898d113c2588e2c8f
authorWaldemar Brodkorb <wbx@openadk.org>
Wed, 7 Dec 2016 06:59:34 +0000 (7 07:59 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 10 Dec 2016 14:14:29 +0000 (10 15:14 +0100)
tree9b1bb6fb3003eb5dbe717b0606ce2e9e90c15453
parent569914be2e968a1bda8b4982ca97c1524635174e
xtensa: fix static linking

uClibc-ng 1.0.20 fixed static linking with "libdl" by adding all libdl functions
into the libc. On xtensa, though, libdl contains an unresolved reference that is
satisfied by the ld.so - which is not a part of the linking in a static case.

Signed-off-by: Alexey Neyman <stilor@att.net>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
libpthread/nptl/sysdeps/Makefile.commonarch
libpthread/nptl/sysdeps/xtensa/Makefile.arch
libpthread/nptl/sysdeps/xtensa/libc-dl-tlsdesc.S [new file with mode: 0644]