Re: [PATCH] ARC: Change ld.as instruction to regular ld.

2016-08-17 Thread Vineet Gupta
On 08/16/2016 11:24 PM, Liav Rehana wrote: > From: Liav Rehana > > User mode callee regs are explicitly collected before signal delivery > or breakpoint trap. r25 is special for kernel as it serves as task > pointer, so user mode value is clobbered very early. It is saved in > pt_regs where genera

[PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-17 Thread Vineet Gupta
perf tools build in recent kernels spews splat when cross compiling with uClibc | CC util/alias.o | In file included from tools/perf/util/../ui/../util/cache.h:8:0, | from tools/perf/util/../ui/helpline.h:7, | from tools/perf/util/debug.h:8, |

Re: [uclibc-ng-devel] [uClibc] ARC: Support syscall ABI v4

2016-08-17 Thread Waldemar Brodkorb
Hi Vineet, Vineet Gupta wrote, > The syscall ABI includes the gcc functional calling ABI since a syscall > implies userland caller and kernel callee. > > The current gcc ABI (v3) for ARCv2 ISA required 64-bit data be passed in > even-odd register pairs, (potentially punching reg holes when passin