This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Two more vDSO issues


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]