Go to file
maminjie 8ad6d6d8ed Linux: Fix 32-bit vDSO for clock_gettime on powerpc32
When the clock_id is CLOCK_PROCESS_CPUTIME_ID or CLOCK_THREAD_CPUTIME_ID,
on the 5.10 kernel powerpc 32-bit, the 32-bit vDSO is executed successfully (
because the __kernel_clock_gettime in arch/powerpc/kernel/vdso32/gettimeofday.S
does not support these two IDs, the 32-bit time_t syscall will be used),
but tp32.tv_sec is equal to 0, causing the 64-bit time_t syscall to continue to be used,
resulting in two system calls.

Fix commit 72e84d1db2.

Signed-off-by: maminjie  <maminjie2@huawei.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

(cherry picked from commit e0fc721ce6)
2021-12-21 09:50:25 -03:00
argp
assert
benchtests tests: use xmalloc to allocate implementation array 2021-07-28 17:45:19 +05:30
bits Add missing braces to bsearch inline implementation [BZ #28400] 2021-10-01 18:20:12 +02:00
catgets
ChangeLog.old Update ChangeLog.old/ChangeLog.23. 2021-08-01 21:33:43 -04:00
conform Use $(pie-default) with conformtest 2021-12-13 20:59:48 +05:30
crypt
csu
ctype
debug
dirent
dlfcn
elf elf: Earlier missing dynamic segment check in _dl_map_object_from_fd 2021-11-05 19:36:06 +01:00
gmon
gnulib
grp
gshadow
hesiod
htl
hurd
iconv iconvconfig: Fix behaviour with --prefix [BZ #28199] 2021-09-13 20:51:04 +05:30
iconvdata gconv: Do not emit spurious NUL character in ISO-2022-JP-3 (bug 28524) 2021-11-04 21:28:43 +01:00
include ld.so: Replace DL_RO_DYN_SECTION with dl_relocate_ld [BZ #28340] 2021-11-03 07:50:30 +01:00
inet
intl
io Use support_open_dev_null_range io/tst-closefrom, misc/tst-close_range, and posix/tst-spawn5 (BZ #28260) 2021-09-21 22:26:26 +12:00
libio
locale
localedata
login
mach
malloc Handle NULL input to malloc_usable_size [BZ #28506] 2021-10-29 14:56:53 +05:30
manual nss: Use "files dns" as the default for the hosts database (bug 28700) 2021-12-17 12:17:18 +01:00
math
mathvec
misc misc: Add __get_nprocs_sched 2021-10-01 18:19:09 +02:00
nis
nptl nptl: Do not set signal mask on second setjmp return [BZ #28607] 2021-11-24 09:22:10 +01:00
nptl_db
nscd
nss nss: Use "files dns" as the default for the hosts database (bug 28700) 2021-12-17 12:17:18 +01:00
po po/nl.po: Update Dutch translation. 2021-08-01 20:52:28 -04:00
posix elf: Avoid deadlock between pthread_create and ctors [BZ #28357] 2021-10-19 14:21:14 +02:00
pwd
resolv
resource
rt librt: add test (bug 28213) 2021-08-16 11:35:35 +05:30
scripts Use Linux 5.14 in build-many-glibcs.py 2021-09-15 14:34:33 +02:00
setjmp
shadow
signal
socket
soft-fp
stdio-common
stdlib
string tests: use xmalloc to allocate implementation array 2021-07-28 17:45:19 +05:30
sunrpc
support support: Also return fd when it is 0 2021-10-06 22:26:05 +05:30
sysdeps Linux: Fix 32-bit vDSO for clock_gettime on powerpc32 2021-12-21 09:50:25 -03:00
sysvipc
termios
time
timezone
wcsmbs
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
config.h.in
config.make.in
configure
configure.ac
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL Update install.texi, and regenerate INSTALL. 2021-08-01 16:48:43 -04:00
libc-abis
libof-iterator.mk
LICENSES
MAINTAINERS
Makeconfig Run conform/ tests using newly built libc 2021-12-13 09:07:38 +05:30
Makefile
Makefile.help
Makefile.in
Makerules
NEWS riscv: align stack before calling _dl_init [BZ #28703] 2021-12-17 22:50:13 +01:00
o-iterator.mk
README
Rules
shlib-versions
test-skeleton.c
version.h Prepare for glibc 2.34 release. 2021-08-01 21:24:04 -04:00

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at https://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.