[Bug libc/19767] vdso is not used with static linking
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Mon Dec 10 21:29:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=19767
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via f9ba9eb821c96ae41038460ee1fcd42308e074f2 (commit)
from 8d20a2f414fa52aceef8a0e3675415df54a840db (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f9ba9eb821c96ae41038460ee1fcd42308e074f2
commit f9ba9eb821c96ae41038460ee1fcd42308e074f2
Author: Rafael �vila de Esp�ndola <rafael@espindo.la>
Date: Mon Dec 10 21:27:54 2018 +0000
Enable VDSO for static linking on mips
I have tested that this builds and the resulting program still work.
This was tested on gcc23.fsffrance.org, and for some reason the vdso
there seems unused even when using shared libraries.
[BZ #19767]
* sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
* sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
ALWAYS_USE_VSYSCALL.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
ALWAYS_USE_VSYSCALL.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
ALWAYS_USE_VSYSCALL.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 ++++++++++++
sysdeps/unix/sysv/linux/mips/init-first.c | 8 +++-----
sysdeps/unix/sysv/linux/mips/libc-vdso.h | 6 +-----
sysdeps/unix/sysv/linux/mips/mips32/sysdep.h | 3 +++
sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h | 3 +++
sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h | 3 +++
6 files changed, 25 insertions(+), 10 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list