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

2015-02-19 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 also happen to define. This is not true for ARCv2 ISA and possibly other arch of future with 64-bit even register requirement, which uses

[PATCH v2 2/4] ARCv2: optimised string routines

2015-02-19 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 v2 1/4] ARCv2 ISA support

2015-02-19 Thread Vineet Gupta
This is next gen Instruction Set Architecture from Synopsys and basis for the ARC HS family of processors. 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 Signed-off-by: Vineet

[PATCH v2 4/4] sync_file_range: fix standard UCLIBC_SYSCALL_ALIGN_64BIT handling

2015-02-19 Thread Vineet Gupta
Currently UCLIBC_SYSCALL_ALIGN_64BIT is not explicitly handled. Fix that and make sure the special handling is done for powerpc/xtensa which use UCLIBC_SYSCALL_ALIGN_64BIT but don't use hole punched syscall handler in kernel. Signed-off-by: Vineet Gupta vgu...@synopsys.com Cc: Baruch Siach

[PATCH v2 0/4] uClibc port to ARCv2 ISA

2015-02-19 Thread Vineet Gupta
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 v2: Changes since v1: * 1/4: Updated

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

2015-02-19 Thread Vineet Gupta
On Thursday 19 February 2015 02:34 AM, Bernhard Reutner-Fischer wrote: 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.

Re: Build error with LINUXTHREADS_NEW and no UCLIBC_HAS_REALTIME

2015-02-19 Thread Bernhard Reutner-Fischer
On February 19, 2015 3:25:15 PM GMT+01:00, Sarah Nadi sn...@uwaterloo.ca wrote: Hi, LINUXTHREADS_NEW does not build correctly without also selecting UCLIBC_HAS_REALTIME since function nanosleep will be undefined. See attached .config for reproducing with version 0.9.33.2. Should a select

Build error with LINUXTHREADS_NEW and no UCLIBC_HAS_REALTIME

2015-02-19 Thread Sarah Nadi
Hi, LINUXTHREADS_NEW does not build correctly without also selecting UCLIBC_HAS_REALTIME since function nanosleep will be undefined. See attached .config for reproducing with version 0.9.33.2. Should a select UCLIBC_HAS_REALTIME be added to LINUXTHREADS_NEW in Config.in similar to

[PATCH] Allow use of executable RPATH/RUNPATH when finding libraries.

2015-02-19 Thread Steve Ellcey
This option will modify ldso so that it will use the executables RPATH/RUNPATH to find to find libraries even though this behavour is not standard. Setting this option causes the uclibc dynamic linker behavour to match the glibc dynamic linker. Signed-off-by: Steve Ellcey sell...@imgtec.com ---

[PATCH]mips: ldso: dlopen with flag RTLD_NOW should look up the symbols

2015-02-19 Thread xiaoyur...@gmail.com
Reason: MIPS ELF strategy is so different from other architectures like x86 and arm. When fPIC enabled in x86 and arm, .rel.plt section is generated after .rel.dyn section, and the dependency of the library (like the function and object) . But MIPS only generates .rel.dyn section for the