ARC: Conditionalise certain relocations as provided by TLS tools only
commit181d410ad00cddd1d6c9f4835e129136b74c5187
authorVineet Gupta <vgupta@synopsys.com>
Sat, 14 Feb 2015 09:55:37 +0000 (14 15:25 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 16 Feb 2015 20:52:13 +0000 (16 21:52 +0100)
treebd6baa4c28963210df1f3a00d49dcf6fbdcf5ade
parent673c426bfbe58ee626d346b13365b73712f961ba
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>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
extra/Configs/defconfigs/arc/defconfig
ldso/ldso/arc/dl-startup.h
ldso/ldso/arc/dl-sysdep.h