Glibc uses 'void *' instead of 'char *'.
And the prototype is declared in .
..
$ syscall='cacheflush';
$ ret='int';
$ find glibc/ -type f -name '*.h' \
|xargs pcregrep -Mn "(?s)^[\w\s]*${ret}\s*${syscall}\s*\(.*?;";
glibc/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h:27:
extern int cacheflus
Vineet, All,
On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> PFA assorted ARC changes. Main being a hw config for -mcpu=hs4x which
> schedules code for HS48x dual issue pipeline.
Series applied to master, thanks!
I have however done a bit of changes, so I will reply individually to
affec
Vineet, All,
On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> For the HS48 processor, BR currently builds with -mcpu=hs4x_rel31 which
> generates suboptimal code as it inhibits delay slot and back-back ST and so
> on.
>
> Enable a new variant to build with -mcpu=hs4x for normal codegen.
>
Vineet, All,
On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> We are no longer actively working on uClibc and hard-float support is
> pretty stable, so make that default for HSDK boards
>
> The hard-float setting is a bit convulated since current ARC gcc lacks
> --with-fpu - so this is don
Vineet, All,
On 2021-01-15 12:03 -0800, Vineet Gupta spake thusly:
> - Enable C++ support
> - Don't strip executables
> - Add minimal debug symbols
> - Enable strace and openssh
> - Enable perf (and elfutils)
Of all those, I only kept adding C++.
None of the other defconfigs enable debug, o