glibc/sysdeps
Adhemerval Zanella dd6e8af6ba powerpc: Fix compiler warning on some syscalls
GCC 5.0 emits an warning when using sizeof on array function parameters
and powerpc internal syscall macros add a check for such cases.  More
specifically, on powerpc64 and powerpc32 sysdep.h:

  if (__builtin_classify_type (__arg3) != 5 && sizeof (__arg3) > 8) \
          __illegally_sized_syscall_arg3 (); \

And for sysdeps/unix/sysv/linux/utimensat.c build GCC emits:

error: ‘sizeof’ on array function parameter ‘tsp’ will return size of
‘const struct timespec *’

This patch uses the address of first struct member instead of the struct
itself in syscall macro.
2015-01-08 08:03:31 -05:00
..
aarch64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
alpha Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
arm Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
generic Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
gnu ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
hppa Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
i386 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ia64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
ieee754 lround: provide cast for wordsize-64 version if needed 2015-01-05 11:59:32 -05:00
init_array Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
m68k Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
mach Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
microblaze Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mips Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
nptl ARM: Consolidate with generic unwinder wrapper code 2015-01-05 15:42:16 -08:00
posix Function declaration cleanup 2015-01-06 08:23:58 -08:00
powerpc Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
pthread Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
s390 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
sh Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
sparc Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
tile Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00
unix powerpc: Fix compiler warning on some syscalls 2015-01-08 08:03:31 -05:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86_64 Fix libm feupdateenv namespace (bug 17748). 2015-01-07 19:01:20 +00:00