This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Pull request: pasky/fixes
- From: Petr Baudis <pasky at suse dot cz>
- To: drepper at redhat dot com
- Cc: libc-alpha at sourceware dot org, vapier at gentoo dot org
- Date: Tue, 16 Nov 2010 04:21:33 +0100
- Subject: Pull request: pasky/fixes
Hello!
The following changes since commit fb8fb8464c2b5a44b69e62bcc3211b9c769416da
(pasky/fixes-overdue):
Fix incorrect backtrace unwinding through thread_start() on x86_64 (2010-11-16 03:47:22 +0100)
are available in the git repository at:
git://sources.redhat.com/git/glibc.git pasky/fixes
Please pull them to the master branch.
commit fd5ba40413efc0c95c0754341a76ada944aa1d5f [BZ #11929]
Author: Mike Frysinger <vapier@gentoo.org>
Date: Sun Aug 22 17:32:46 2010 +0200
Make sure GLRO(dl_pagesize) is initialized properly on all archs
After a recent change to __getpagesize(), GLRO(dl_pagesize) is required
to be set. But that is only done at app init, and shared libraries
dlopened at runtime by static apps dont have their GLRO() state
initialized from the linux auxvec.
ia64/mips have long had similar behavior with their __getpagesize(), but
they have a DL_STATIC_INIT hook to sync some of the static GLRO() fields
to the dynamic GLRO() fields. Now that common linux code requires
GLRO(dl_pagesize) to be set, common linux code now needs that
DL_STATIC_INIT hook.
This patch takes the ia64 logic and promotes it to common code.
commit 8bddf3f453ce1b6f6591825846437d6cb55f7b4c [BZ #11155]
Author: Petr Baudis <pasky@ucw.cz>
Date: Tue Nov 16 03:26:19 2010 +0100
Fix fstat() not trying to call fxstat64() on sparc64
sparc64 fxstat implementation should follow the same code path as on
i386, first trying fxstat64() and falling back to fxstat() only when
it is not available. Otherwise, nanosecond times resolution will not
be available.
sparc64 is unlike other 64-bit architectures in that fxstat64() has
not been historically always available in the kernel.
Solution by hideaki@sogetthis.com.
Summary of changes:
ChangeLog | 20 ++++++++++++
sysdeps/unix/sysv/linux/Makefile | 4 ++-
sysdeps/unix/sysv/linux/{ia64 => }/dl-static.c | 4 +-
sysdeps/unix/sysv/linux/ia64/Makefile | 6 ----
sysdeps/unix/sysv/linux/ia64/getpagesize.c | 39 ------------------------
sysdeps/unix/sysv/linux/ia64/ldsodefs.h | 33 --------------------
sysdeps/unix/sysv/linux/ldsodefs.h | 6 ++++
sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c | 2 +-
8 files changed, 32 insertions(+), 82 deletions(-)
rename sysdeps/unix/sysv/linux/{ia64 => }/dl-static.c (93%)
delete mode 100644 sysdeps/unix/sysv/linux/ia64/getpagesize.c
delete mode 100644 sysdeps/unix/sysv/linux/ia64/ldsodefs.h