Re: [PATCH 0/8] ARC updates to uClibc

2015-02-18 Thread Vineet Gupta
On Wednesday 18 February 2015 01:33 PM, Bernhard Reutner-Fischer wrote: I would have assumed / hoped that GCC 5 should generate this 2nd variant for extern inline __syscall_rt_sigaction. Doesn't it do that? But __syscall_rt_sigaction is not inline - per include/signal.h is is extern extern

Re: [PATCH] ARC: Add GNU glob to ARC defconfigs

2015-02-18 Thread Bernhard Reutner-Fischer
On February 18, 2015 7:01:23 AM GMT+01:00, Vineet Gupta vineet.gup...@synopsys.com wrote: On Saturday 14 February 2015 01:32 AM, Bernhard Reutner-Fischer wrote: I'm not really a libc developer so I would refrain from deciding what is right and what is wrong with those defines, I just need make

Re: [PATCH 0/8] ARC updates to uClibc

2015-02-18 Thread Bernhard Reutner-Fischer
On February 18, 2015 6:51:17 AM GMT+01:00, Vineet Gupta vineet.gup...@synopsys.com wrote: On Monday 16 February 2015 08:34 PM, Bernhard Reutner-Fischer wrote: While it at I also did some arch specific adjustment in sigaction path - inlining the rt_sigaction syscall stub detour to reduce branch

Re: [PATCH 0/2] speedup getline/getdelim/fgets_unlocked

2015-02-18 Thread Bernhard Reutner-Fischer
On November 19, 2014 11:38:38 PM GMT+01:00, Ed W li...@wildgooses.com wrote: On 19/11/2014 15:52, Bernhard Reutner-Fischer wrote: On 18 June 2012 17:45, Ed W li...@wildgooses.com wrote: I remain *interested*, but I'm tied up with a bunch of deadlines and not a proper build environment to test

Re: [PATCH] Add eventfd_read() and eventfd_write()

2015-02-18 Thread Bernhard Reutner-Fischer
On January 31, 2015 10:38:14 AM GMT+01:00, Bernd Kuhls bernd.ku...@t-online.de wrote: Hi, uClibc lacks eventfd_read() and eventfd_write(), Applied. Thanks for the reminder! Cheers, ___ uClibc mailing list uClibc@uclibc.org

Re: [PATCH 0/8] ARC updates to uClibc

2015-02-18 Thread Vineet Gupta
On Wednesday 18 February 2015 01:33 PM, Bernhard Reutner-Fischer wrote: On February 18, 2015 6:51:17 AM GMT+01:00, Vineet Gupta vineet.gup...@synopsys.com wrote: On Monday 16 February 2015 08:34 PM, Bernhard Reutner-Fischer wrote: While it at I also did some arch specific adjustment in

Re: [PATCH] Replace strstr() implementations with faster two-way version

2015-02-18 Thread Bernhard Reutner-Fischer
On January 4, 2015 8:07:45 PM GMT+01:00, Jody Bruchon j...@jodybruchon.com wrote: Whoops, it seems I typed Stephen's initials wrong in that patch text. s/SJVDB/SRVDB/g and apologies for that. I have queued to look at it in detail after the release. Will get back to you then. Thanks for your

Re: [PATCH 0/4] uClibc port to ARCv2 ISA

2015-02-18 Thread Bernhard Reutner-Fischer
On February 18, 2015 1:11:03 PM GMT+01:00, Vineet Gupta vineet.gup...@synopsys.com wrote: Hi, Please find set of patches to support ARCv2 ISA basis of new HS family of cores from Synopsys. http://www.synopsys.com/dw/ipdir.php?ds=arc-hs38-processorelq_mid=5732elq_cid=458802

[PATCH 1/4] ARCv2 ISA support

2015-02-18 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- Rules.mak | 2 ++ extra/Configs/Config.arc | 6 extra/Configs/Config.in| 1 + extra/Configs/defconfigs/arc/arcv2_defconfig | 32

[PATCH 2/4] ARCv2: optimised string routines

2015-02-18 Thread Vineet Gupta
From: Claudiu Zissulescu claz...@synopsys.com Signed-off-by: Claudiu Zissulescu claz...@synopsys.com Signed-off-by: Vineet Gupta vgu...@synopsys.com --- libc/string/arc/arcv2/memcpy.S | 236 + libc/string/arc/arcv2/memset.S | 85 +++

[PATCH 0/4] uClibc port to ARCv2 ISA

2015-02-18 Thread Vineet Gupta
Hi, Please find set of patches to support ARCv2 ISA basis of new HS family of cores from Synopsys. http://www.synopsys.com/dw/ipdir.php?ds=arc-hs38-processorelq_mid=5732elq_cid=458802 http://www.synopsys.com/IP/ProcessorIP/ARCProcessors/arc-hs/Pages/default.aspx * 1/2 and 2/2 account for ARCv2

[PATCH 3/4] posix_fadvise: handle 2 variants for SYSCALL_ALIGN_64BIT

2015-02-18 Thread Vineet Gupta
arm/powerpc/xtensa pass @advice as 2nd arg to syscall (vs. canonical 4th) Current code however does this for UCLIBC_SYSCALL_ALIGN_64BIT (which powerpc/xtensa) happen to define. This is not true for ARCv2 ISA and possibly other arch of future which uses the standard syscall handler in kernel

[PATCH 4/4] sync_file_range: fix for UCLIBC_SYSCALL_ALIGN_64BIT

2015-02-18 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- libc/sysdeps/linux/common/sync_file_range.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/common/sync_file_range.c b/libc/sysdeps/linux/common/sync_file_range.c index 6cd7e94d6af6..b70db70f4d4b 100644