[PATCH] Two more vDSO issues

Andreas Schwab schwab@suse.de
Mon Mar 8 13:44:00 GMT 2004


Jakub Jelinek <jakub@redhat.com> writes:

> 2) if kernel provides just AT_SYSINFO_EHDR but not AT_SYSINFO, ld.so would
>    segfault.

Here's another bugfix:

2004-03-08  Andreas Schwab  <schwab@suse.de>

	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't truncate
	sysinfo pointer value.

--- sysdeps/generic/dl-sysdep.c.~1.110.~	2004-03-06 22:46:14.000000000 +0100
+++ sysdeps/generic/dl-sysdep.c	2004-03-08 14:36:01.934030411 +0100
@@ -99,7 +99,7 @@ _dl_sysdep_start (void **start_argptr,
 # endif
 #endif
 #ifdef NEED_DL_SYSINFO
-  ElfW(Word) new_sysinfo = 0;
+  uintptr_t new_sysinfo = 0;
 #endif
 
   __libc_stack_end = DL_STACK_END (start_argptr);

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
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