summaryrefslogtreecommitdiff
path: root/samples/arc-arc700-linux-uclibc
AgeCommit message (Collapse)AuthorFilesLines
2019-01-29Run the samples through `ct-ng update-samples`Alexey Neyman1-2/+3
- Pin sparc-leon-linux-gnu to GCC6, again. - Remove "brokenness" explanation from moxie-elf comment (was only applicable to stage-2 compiler, not final). Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-21ARC: Update Linux samplesAlexey Brodkin2-2/+2
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>
2018-05-15Add ARC700 and ARC HS38 Linux samplesAlexey Brodkin2-0/+10
ARC700 is based on ARCompact (AKA ARCv1 ISA) while ARC HS38 is based on modern ARCv2 ISA. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>