aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-03 13:22:19 -0600
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-01-03 13:29:10 -0600
commitd7ad2d9bad88dd2ef4498cded81b3e2adca68af8 (patch)
tree5bfe8e0b84aef1fdc5d4a3efa82844bd7eb86683
parentdc810f37785201905de42cc00e062378cb1799cf (diff)
downloadglibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.tar
glibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.tar.gz
glibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.tar.bz2
glibc-d7ad2d9bad88dd2ef4498cded81b3e2adca68af8.zip
PowerPC: Fix compiler warnings
This patch fixes some compile warnings related to extra tokens at end of #undef directive from multilib patchset.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S2
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/wcscpy.c2
5 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c4ffa7d82..74ffbff43b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
+ extra tokens at end of #undef directive.
+ * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
+ * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
+ * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
+
2014-01-03 Andrew Hunter <ahh@google.com>
* elf/dl-open.c (): New comment.
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
index 0492bafb44..ad00f98faa 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S
@@ -33,7 +33,7 @@
TRACEBACK(__strcasecmp_power7) \
END_2(__strcasecmp_power7)
-#undef weak_alias(name, alias)
+#undef weak_alias
#define weak_alias(name, alias)
#undef libc_hidden_builtin_def
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
index a65949f2bf..81ec696857 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S
@@ -33,7 +33,7 @@
TRACEBACK(__strcasecmp_l_power7) \
END_2(__strcasecmp_l_power7)
-#undef weak_alias(name, alias)
+#undef weak_alias
#define weak_alias(name, alias)
#undef libc_hidden_builtin_def
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S b/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
index 30e29cda7e..057e5a8d2d 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S
@@ -35,7 +35,7 @@
#undef libc_hidden_builtin_def
#define libc_hidden_builtin_def(name)
-#undef weak_alias(name, alias)
+#undef weak_alias
#define weak_alias(name, alias)
#include <sysdeps/powerpc/powerpc64/power7/strnlen.S>
diff --git a/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c b/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
index f04298a7a2..5c0a6d339c 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/wcscpy.c
@@ -33,4 +33,4 @@ libc_ifunc (wcscpy,
: __wcscpy_ppc);
#else
#include <wcsmbs/wcscpy.c>
-#endif:
+#endif