ARC: Update relocation syntax for old-thread model code
commit3649052470197e302eee69de7c7f519d63dd1f45
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 29 Jul 2016 13:26:09 +0000 (29 14:26 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Sun, 31 Jul 2016 10:50:54 +0000 (31 12:50 +0200)
treed112ac2dc1dd95d83c383658fceec19bdb3d0984
parent334ddb1b8fe5d4b473a9e410b882952f2075b417
ARC: Update relocation syntax for old-thread model code

This commit reverses a change introduced in commit 20554a78a9bba that
split some of the ARC code into two based on whether uClibc was
configured with native threads or not.

The native thread code was updated to use the relocation syntax of
modern binutils, while the non-native code path used a syntax only
accepted in older versions of binutils.

The problem with this is that the choice of old binutils or not is
orthogonal to the choice of native threads or not, and so, inevitably a
user with a recent version of binutils can make the choice to configure
uClibc with non-native thread support, and run into code that will not
assemble.

The solution is either to abandon support for the old tools completely,
or to add a new compile time flag for ARC that is set when the version
of binutils being used is old; this new flag would allow the old
relocation structure to be selected.

In this commit I have simply dropped support for older versions of the
tools.
ldso/ldso/arc/dl-startup.h
ldso/ldso/arc/dl-sysdep.h