mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
PowerPC: Fix compiler warnings
This patch fixes some compiler due trailing data in #undef directives and due missing prototypes.
This commit is contained in:
parent
91f4b564bd
commit
e7f95bb5f0
@ -1,5 +1,12 @@
|
||||
2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
|
||||
[weak_alias]: Fix compiler warning due trailing data.
|
||||
* sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
|
||||
[weak_alias]: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
|
||||
warnigs due missing definition of __strcpy_power7 and __strlen_power7.
|
||||
|
||||
* sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
|
||||
(__libc_ifunc_impl_list): Add memmove functions.
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
cfi_endproc; \
|
||||
ASM_SIZE_DIRECTIVE(__strcasecmp_power7)
|
||||
|
||||
#undef weak_alias(name, alias)
|
||||
#undef weak_alias
|
||||
#define weak_alias(name, alias)
|
||||
|
||||
#undef libc_hidden_builtin_def
|
||||
|
@ -30,7 +30,7 @@
|
||||
cfi_endproc; \
|
||||
ASM_SIZE_DIRECTIVE(__strcasecmp_l_power7)
|
||||
|
||||
#undef weak_alias(name, alias)
|
||||
#undef weak_alias
|
||||
#define weak_alias(name, alias)
|
||||
|
||||
#undef libc_hidden_builtin_def
|
||||
|
@ -22,7 +22,9 @@
|
||||
#undef libc_hidden_def
|
||||
#define libc_hidden_def(name)
|
||||
|
||||
extern typeof (strcpy) __strcpy_power7;
|
||||
extern typeof (strlen) __strlen_power7;
|
||||
|
||||
#define strcpy __strcpy_power7
|
||||
#define strlen __strlen_power7
|
||||
|
||||
#include <sysdeps/powerpc/strcat.c>
|
||||
|
Loading…
Reference in New Issue
Block a user