ld.so changes

Andreas Schwab schwab@suse.de
Thu Jan 31 02:41:00 GMT 2002


Ulrich Drepper <drepper@redhat.com> writes:

|> What is important to know for everybody else is that I broke all
|> architectures.  All of them (except x86 and IA64) need fixing.

You missed one occurence in a generic file:

2002-01-31  Andreas Schwab  <schwab@suse.de>

	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover
	reference to _dl_pagesize.

--- sysdeps/generic/dl-sysdep.c.~1.71.~	Thu Jan 31 10:09:38 2002
+++ sysdeps/generic/dl-sysdep.c	Thu Jan 31 11:35:04 2002
@@ -168,8 +168,8 @@
   __libc_enable_secure = uid != euid || gid != egid;
 
 #ifndef HAVE_AUX_PAGESIZE
-  if (_dl_pagesize == 0)
-    _dl_pagesize = __getpagesize ();
+  if (GL(dl_pagesize) == 0)
+    GL(dl_pagesize) = __getpagesize ();
 #endif
 
 #ifdef DL_SYSDEP_INIT

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Libc-hacker mailing list