Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
__strong_alias() causes definition loop in locale/wcstol.c with binutils 2.18
/tmp/ctm.Hqncab: Assembler messages:
/tmp/ctm.Hqncab:117: Error: symbol definition loop encountered at
`wcstold'
.pushsection .ident
.asciz "$NetBSD: wcstold.c,v 1.2 2006/04/16 17:03:32 christos Exp $"
.popsection
.global _wcstold
_wcstold = wcstold
.weak wcstold
wcstold = _wcstold
binutils 2.18 requires the following patch. Does it look okay?
Index: locale/wcstold.c
===================================================================
RCS file: /cvsroot/src/lib/libc/locale/wcstold.c,v
retrieving revision 1.2
diff -u -r1.2 wcstold.c
--- locale/wcstold.c 16 Apr 2006 17:03:32 -0000 1.2
+++ locale/wcstold.c 7 Jul 2008 11:16:55 -0000
@@ -41,7 +41,6 @@
#include <wchar.h>
#include <wctype.h>
-__strong_alias(_wcstold,wcstold)
__weak_alias(wcstold,_wcstold)
#define _FUNCNAME wcstold
Home |
Main Index |
Thread Index |
Old Index