public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix build with latest GCC 4
@ 2005-03-25 12:27 Jakub Jelinek
  2005-03-25 20:02 ` Greg McGary
  0 siblings, 1 reply; 6+ messages in thread
From: Jakub Jelinek @ 2005-03-25 12:27 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

Hi!

wordsize-64/wcstoul_l.c includes generic/wcstoul_l.c which
in turn includes wordsize-64/wcstol_l.c.  But the aliases
and libc_hidden_ver for strtol_l.c are not desirable in the ul compilation.

2005-03-25  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/wordsize-64/strtol_l.c: Don't add aliases if UNSIGNED.
	* sysdeps/wordsize-64/wcstol_l.c: Likewise.

--- libc/sysdeps/wordsize-64/strtol_l.c.jj	2003-03-03 04:45:12.000000000 -0500
+++ libc/sysdeps/wordsize-64/strtol_l.c	2005-03-24 08:09:38.970943112 -0500
@@ -8,7 +8,9 @@
 #undef ____strtoll_l_internal
 #undef __strtoll_l
 #undef strtoll_l
+#if !UNSIGNED
 strong_alias (____strtol_l_internal, ____strtoll_l_internal)
 libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal)
 weak_alias (__strtol_l, __strtoll_l)
 weak_alias (__strtol_l, strtoll_l)
+#endif
--- libc/sysdeps/wordsize-64/wcstol_l.c.jj	2002-08-08 07:44:51.000000000 -0400
+++ libc/sysdeps/wordsize-64/wcstol_l.c	2005-03-24 08:09:02.632875928 -0500
@@ -8,6 +8,8 @@
 #undef ____wcstoll_l_internal
 #undef __wcstoll_l
 #undef wcstoll_l
+#if !UNSIGNED
 strong_alias (____wcstol_l_internal, ____wcstoll_l_internal)
 weak_alias (__wcstol_l, __wcstoll_l)
 weak_alias (__wcstol_l, wcstoll_l)
+#endif

	Jakub

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-28 19:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25 12:27 [PATCH] Fix build with latest GCC 4 Jakub Jelinek
2005-03-25 20:02 ` Greg McGary
2005-03-25 20:29   ` Jakub Jelinek
2005-03-25 20:58     ` Greg McGary
2005-03-25 21:15       ` [PATCH] Fix build with latest GCC 4 (take 2) Jakub Jelinek
2005-03-28 19:29         ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).