ARC: Conditionalise certain relocations as provided by TLS tools only
commit20554a78a9bba278c6b9cbbb4cfc5bde3772c56d
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Sat, 14 Feb 2015 09:55:37 +0000 (14 15:25 +0530)
committerWaldemar Brodkorb <wbx@openadk.org>
Mon, 16 Feb 2015 05:23:27 +0000 (16 06:23 +0100)
tree7132f71a4205ea4f5c07dabd8b7493df84beda25
parente1e46622ac0fce73d802fa4a8a2e83cc25cd9e7a
ARC: Conditionalise certain relocations as provided by TLS tools only

uClibc mainline supports NPTL which in turns depends on TLS support in
the tools (gcc/binutils), which is yet to be merged in dev branches.

However there is some non NPTL code in uClibc, added as part of NPTL
effort, which relies on certain relocations only provided by NPTL
binutils. As a result building the current upstream even for LT.old
breaks.

So conditionalize that code on tools, bu tin lack of specific versions,
we use NPTL enabling as a sign the tools are equipped to handle those
relos.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
extra/Configs/defconfigs/arc/defconfig
ldso/ldso/arc/dl-startup.h
ldso/ldso/arc/dl-sysdep.h