[PATCH 2/7] [PowerPC64] Remove duplicate define in stpncpy-power8.S

Alan Modra amodra@gmail.com
Wed Oct 25 07:36:00 GMT 2017


USE_AS_STPNCPY is defined by sysdeps/powerpc/powerpc64/power8/stpncpy.S,
included by this file.

	* sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
	USE_AS_STPNCPY.

diff --git a/sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S b/sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S
index 9663659..9c71bb0 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S
+++ b/sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S
@@ -18,8 +18,6 @@
 
 #include <sysdep.h>
 
-#define USE_AS_STPNCPY
-
 #define STPNCPY __stpncpy_power8
 
 #undef libc_hidden_builtin_def
-- 
Alan Modra
Australia Development Lab, IBM



More information about the Libc-alpha mailing list