svn commit: trunk/uClibc/libc/string: arm generic i386 ia64

vapier at uclibc.org vapier at uclibc.org
Tue May 30 09:36:14 UTC 2006


Author: vapier
Date: 2006-05-30 02:36:10 -0700 (Tue, 30 May 2006)
New Revision: 15234

Log:
Qunying Pan writes: Make strncmp weak hidden to fix link failures in building gdb and binutils statically


Modified:
   trunk/uClibc/libc/string/arm/strncmp.S
   trunk/uClibc/libc/string/generic/strncmp.c
   trunk/uClibc/libc/string/i386/strncmp.c
   trunk/uClibc/libc/string/ia64/strncmp.S
   trunk/uClibc/libc/string/strncmp.c


Changeset:
Modified: trunk/uClibc/libc/string/arm/strncmp.S
===================================================================
--- trunk/uClibc/libc/string/arm/strncmp.S	2006-05-30 09:13:53 UTC (rev 15233)
+++ trunk/uClibc/libc/string/arm/strncmp.S	2006-05-30 09:36:10 UTC (rev 15234)
@@ -65,4 +65,4 @@
 
 .size strncmp,.-strncmp
 
-libc_hidden_def(strncmp)
+libc_hidden_weak(strncmp)

Modified: trunk/uClibc/libc/string/generic/strncmp.c
===================================================================
--- trunk/uClibc/libc/string/generic/strncmp.c	2006-05-30 09:13:53 UTC (rev 15233)
+++ trunk/uClibc/libc/string/generic/strncmp.c	2006-05-30 09:36:10 UTC (rev 15234)
@@ -65,4 +65,4 @@
 
   return c1 - c2;
 }
-libc_hidden_def(strncmp)
+libc_hidden_weak(strncmp)

Modified: trunk/uClibc/libc/string/i386/strncmp.c
===================================================================
--- trunk/uClibc/libc/string/i386/strncmp.c	2006-05-30 09:13:53 UTC (rev 15233)
+++ trunk/uClibc/libc/string/i386/strncmp.c	2006-05-30 09:36:10 UTC (rev 15234)
@@ -55,4 +55,4 @@
 	    :"1" (cs),"2" (ct),"3" (count));
     return __res;
 }
-libc_hidden_def(strncmp)
+libc_hidden_weak(strncmp)

Modified: trunk/uClibc/libc/string/ia64/strncmp.S
===================================================================
--- trunk/uClibc/libc/string/ia64/strncmp.S	2006-05-30 09:13:53 UTC (rev 15233)
+++ trunk/uClibc/libc/string/ia64/strncmp.S	2006-05-30 09:36:10 UTC (rev 15234)
@@ -59,4 +59,4 @@
 .restore_and_exit:
 	br.ret.sptk.many b0
 END(strncmp)	
-libc_hidden_def (strncmp)
+libc_hidden_weak (strncmp)

Modified: trunk/uClibc/libc/string/strncmp.c
===================================================================
--- trunk/uClibc/libc/string/strncmp.c	2006-05-30 09:13:53 UTC (rev 15233)
+++ trunk/uClibc/libc/string/strncmp.c	2006-05-30 09:36:10 UTC (rev 15234)
@@ -38,5 +38,5 @@
 #endif
 }
 #ifndef WANT_WIDE
-libc_hidden_def(strncmp)
+libc_hidden_weak(strncmp)
 #endif




More information about the uClibc-cvs mailing list