diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2018-05-21 13:33:50 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2018-05-21 15:03:17 +0300 |
commit | 409046f91d18f4f80f044f2e9c08c0e9e04eeb92 (patch) | |
tree | 6766dc5fe6802b6388bf0e93f73d6cfdfb2909ce /scripts/build/cc | |
parent | 0a64056dd3d094503a1ef1d23d2636bcd9708b2f (diff) | |
download | crosstool-ng-409046f91d18f4f80f044f2e9c08c0e9e04eeb92.tar.gz crosstool-ng-409046f91d18f4f80f044f2e9c08c0e9e04eeb92.tar.bz2 crosstool-ng-409046f91d18f4f80f044f2e9c08c0e9e04eeb92.zip |
ARC: Update Linux samples
There's no point in keeping samples which are in its essense
just a sub-set of multilib toolchain.
But still we'd like to cover quite unusual but really existing
case - ARC750, i.e. ARC700 with MMU but without so-called
atomic instructions (LLOCK/SCOND). To support this HW variation
we need:
1) Compile all target binaries without "-matomics" or even
better "-mno-atomics" so that's even future-proof
(as we may decide to enable "-matomics" by default for Linux
targets which is a recommented setup).
2) Configure libc such that it uses Linux-kernel-assisted implementation
of atomic operation via "arc_usr_cmpxchg" syscall,
see https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=b985fa069187e4c5a7ee84213d9fbead2f219ce5
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'scripts/build/cc')
0 files changed, 0 insertions, 0 deletions