olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1385004-3.patch

00db10
From 7235e7a509ef1f93cb895f6cdd2bf27f497a3d0a Mon Sep 17 00:00:00 2001
00db10
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
00db10
Date: Fri, 31 Jul 2015 10:48:20 -0300
00db10
Subject: [PATCH] powerpc: Fix PPC64/POWER7 conform tests
00db10
00db10
When building with --disable-multi-arch the strstr POWER7
00db10
optimization create and uses symbols that conflict with expect conform
00db10
tests.
00db10
00db10
	* sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
00db10
	for static build.
00db10
00db10
(cherry picked from commit 6f714aa4ad5af2745ae2d185821d20ce8fabc2c5)
00db10
---
00db10
 ChangeLog                                  | 7 +++++++
00db10
 sysdeps/powerpc/powerpc64/power7/strstr.S  | 2 +-
00db10
 3 files changed, 11 insertions(+), 3 deletions(-)
00db10
00db10
diff --git a/ChangeLog b/ChangeLog
00db10
index d70df5c..cf95a84 100644
00db10
diff --git a/sysdeps/powerpc/powerpc64/power7/strstr.S b/sysdeps/powerpc/powerpc64/power7/strstr.S
00db10
index 8dca31c..bfb0c49 100644
00db10
--- a/sysdeps/powerpc/powerpc64/power7/strstr.S
00db10
+++ b/sysdeps/powerpc/powerpc64/power7/strstr.S
00db10
@@ -39,7 +39,7 @@
00db10
 # ifdef SHARED
00db10
 #  define STRNLEN   __GI_strnlen
00db10
 # else
00db10
-#  define STRNLEN   strnlen
00db10
+#  define STRNLEN  __strnlen
00db10
 # endif
00db10
 #endif
00db10
 
00db10
-- 
00db10
2.1.0
00db10