[PATCH 0/6] ARC fixes/updates

2014-06-26 Thread Vineet Gupta
Hi Bernhard, Various accumulated fixes for ARC port. Please consider merging. Thx, -Vineet Anton Kolesov (1): ARC: Implement native GDB requirements in procfs.h Vineet Gupta (5): syscalls-common.h: Rename some macro args for correct documentation ARC: syscalls.h:

[PATCH 1/6] syscalls-common.h: Rename some macro args for correct documentation

2014-06-26 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com Cc: Mike Frysinger vap...@gentoo.org Cc: Denys Vlasenko vda.li...@googlemail.com --- libc/sysdeps/linux/common/bits/syscalls-common.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 3/6] ARC: make sigaction inline with other arches

2014-06-26 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- libc/sysdeps/linux/arc/sigaction.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libc/sysdeps/linux/arc/sigaction.c b/libc/sysdeps/linux/arc/sigaction.c index a4bc5f34be87..73c496d2a814 100644 --- a/libc/sysdeps/linux/arc/sigaction.c

[PATCH 2/6] ARC: syscalls.h: code-reuse/fix-arg-annotations

2014-06-26 Thread Vineet Gupta
- Use syscalls-common.h vers of INTERNAL_SYSCALL / INLINE_SYSCALL_NOERR - INLINE_SYSCALL takes syscall name (e.g. write) - {INLINE,INTERNAL}_SYSCALL_NCS macros take syscall num (__NR_write) Signed-off-by: Vineet Gupta vgu...@synopsys.com --- libc/sysdeps/linux/arc/bits/syscalls.h | 25

[PATCH 5/6] ARC: clone: Ensure that @fn returns back to clone

2014-06-26 Thread Vineet Gupta
This showed up due to longstanding test/unistd/clone failure where post clone, the callback was not exiting and rather falling thru in into main program. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- libc/sysdeps/linux/arc/clone.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 6/6] ARC: Implement native GDB requirements in procfs.h

2014-06-26 Thread Vineet Gupta
From: Anton Kolesov anton.kole...@synopsys.com Native GDB requires elf_fpregset_t to be defined, even if floating point registers are absent. In this case we use empty structure. Additionally we redefined prfpregset_t to use this new type. And there has been an error: it was defined that

arm eabihf with static libgcc fails to build

2014-06-26 Thread Waldemar Brodkorb
Hi, I recently switched my toolchain to use a static libgcc. Gcc is build with --enable-shared='libstdc++', so there is no libgcc_eh.a, because exception handling code is included in libgcc.a. Build fails with: /adk/uclibc/toolchain_qemu-arm_uclibc/usr/bin/arm-openadk-linux-uclibcgnueabihf-gcc