This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ppc lchown.S add SHLIB_COMPAT


Since PowerPC64's first implementation will be GLIBC_2.3 we should not
generate a symbol_version for GLIBC_2.0.

		
2002-09-27  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/unix/sysv/linux/powerpc/lchown.S
	[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Make chown a .symver of
	__lchown

diff -rupPN libc23-cvstip-20020923/sysdeps/unix/sysv/linux/powerpc/lchown.S libc23/sysdeps/unix/sysv/linux/powerpc/lchown.S
--- libc23-cvstip-20020923/sysdeps/unix/sysv/linux/powerpc/lchown.S	Thu Jul  5 23:56:19 2001
+++ libc23/sysdeps/unix/sysv/linux/powerpc/lchown.S	Fri Sep 27 17:14:06 2002
@@ -21,6 +21,7 @@
    the same.  */
 	
 #include <sysdep.h>
+#include <shlib-compat.h>
 
 #ifdef __NR_lchown
 	PSEUDO (__lchown, lchown, 3)
@@ -30,6 +31,6 @@
 	ret
 	PSEUDO_END(__lchown)
 	weak_alias (__lchown, lchown)
-#if defined PIC && defined DO_VERSIONING
+#if defined PIC && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
 	symbol_version (__lchown, chown, GLIBC_2.0);
 #endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]