Console View
|
|
||||||||||
feb741bb81d2... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
x86: Remove unused variables for raw cache sizes from cacheinfo.h | ||||||||||
fd19b8464042... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
i386: Implement backtrace on top of <unwind-link.h> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
fb37ef69602a... |
Szabolcs Nagy
szabolcs.nagy @arm.com |
|
||||||||
aarch64: Remove the unused __read_tp symbol This was likely a mistake in the original aarch64 port copied over from arm: on aarch64 tpidr_el0 register is always available. The __read_tp symbol is visible with static linking, but it's not part of the public ABI so it should be safe to remove. |
||||||||||
fac75a690e4f... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
arm: Implement backtrace on top of <unwind-link.h> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
f8ff5a3cc2e4... |
H.J. Lu
hjl.tools @gmail.com |
|
||||||||
i386/clone.S: Remove redundant EBX load There is no neeed for call L(here) L(here): popl %ebx addl $_GLOBAL_OFFSET_TABLE_+[.-L(here)], %ebx before movl %eax, %ebx |
||||||||||
f720ce680eb9... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Reformat Versions One symbol per line, lexicographically ordered. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
|
||||||||||
ebbb8c9f64c3... |
H.J. Lu
hjl.tools @gmail.com |
|
||||||||
x86_64/clone.S: Upate comments | ||||||||||
e9e7f24543e6... |
Naohiro Tamura
naohirot @fujitsu.com |
|
||||||||
configure: Replace obsolete AC_TRY_LINK with AC_LINK_IFELSE This patch replaces obsolete AC_TRY_LINK with AC_LINK_IFELSE. It has been confirmed that GNU 'autoconf' 2.69 doesn't change the 'configure' file and suppressed obsolete warning. |
||||||||||
e164d95abff6... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
backtrace: Implement on top of <unwind-link.h> This reimplements the generic version of backtrace. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
d14624825a3e... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
Move sysdeps/gnu/unwind-resume.c to sysdeps/generic/unwind-resume.c This change allows architecture-specific sysdeps directories to override it. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
ba230b6387fc... |
H.J. Lu
hjl.tools @gmail.com |
|
||||||||
<bits/platform/x86.h>: Correct x86_cpu_TBM x86_cpu_TBM should be x86_cpu_index_80000001_ecx + 21. |
||||||||||
b5be9ae77e3e... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Move futex-internal into libc This moves __futex_abstimed_wait64 and __futex_abstimed_wait_cancelable64 and exports these functions as GLIBC_PRIVATE. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
|
||||||||||
a79328c74521... |
Adhemerval Zanella
adhemerval.zanella @linaro.org |
|
||||||||
posix: Falling back to non wide mode in case of encoding error [BZ #14185] Gnulib has added the proposed fix with aed23714d60 (done in 2005), but recently with a glibc merge with 67306f6 (done in 2020 with sync back) it has fallback to old semantic to return -1 on in case of failure. From gnulib developer feedback it was an oversight. Although the full fix for BZ #14185 would require to rewrite fnmatch implementation to use mbrtowc instead of mbsrtowcs on the full input, this mitigate the issue and it has been used by gnulib for a long time. This patch also removes the alloca usage on the string convertion to wide characters before calling the internal function. Checked on x86_64-linux-gnu. |
||||||||||
9fc813e1a37d... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
Implement <unwind-link.h> for dynamically loading the libgcc_s unwinder This will be used to consolidate the libgcc_s access for backtrace and pthread_cancel. Unlike the existing backtrace implementations, it provides some hardening based on pointer mangling. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
9fb07fd4e1d6... |
Szabolcs Nagy
szabolcs.nagy @arm.com |
|
||||||||
aarch64: update ulps. For new test cases in commit 5a051454a9b50c27984bbc499ee1297de48e2dc8 |
||||||||||
97e42bd482b6... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Use <unwind-link.h> for accessing the libgcc_s unwinder Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
96b8038f12dd... |
John David Anglin
danglin @gcc.gnu.org |
|
||||||||
Correct hppa EFD_NONBLOCK, IN_NONBLOCK, SFD_NONBLOCK and TFD_NONBLOCK defines. | ||||||||||
90197376d5d3... |
Paul Zimmermann
Paul.Zimmermann @inria.fr |
|
||||||||
added rt to malloc/Depend [BZ #27132] This avoids a failure when a new glibc version is compiled with an older system librt. Patch proposed by Florian Weimer. |
||||||||||
8a7b4dc6d005... |
Joseph Myers
joseph @codesourcery.com |
|
||||||||
Use Linux 5.11 in build-many-glibcs.py. This patch makes build-many-glibcs.py use Linux 5.11. Tested with build-many-glibcs.py (host-libraries, compilers and glibcs builds). |
||||||||||
89de9d3958ff... |
H.J. Lu
hjl.tools @gmail.com |
|
||||||||
x86: Use x86/nptl/pthreaddef.h 1. Move sysdeps/i386/nptl/pthreaddef.h to sysdeps/x86/nptl/pthreaddef.h. 2. Remove sysdeps/x86_64/nptl/pthreaddef.h. Reviewed-by: DJ Delorie <dj@redhat.com> |
||||||||||
83908b3a1ea5... |
Joseph Myers
joseph @codesourcery.com |
|
||||||||
Update syscall lists for Linux 5.11. Linux 5.11 has one new syscall, epoll_pwait2. Update syscall-names.list and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. |
||||||||||
831030740370... |
Naohiro Tamura
naohirot @fujitsu.com |
|
||||||||
configure: Replace obsoleted AC_HELP_STRING with AS_HELP_STRING This patch replaces obsoleted AC_HELP_STRING with AS_HELP_STRING. As of Glibc 2.33, INSTALL says "GNU 'autoconf' 2.69 (exactly)" is required. So we can safely replace obsoleted macro without worrying about older autoconf. This change doesn't affect the contents of "configure" file. |
||||||||||
7cf18db4820b... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
__frame_state_for: Use <unwind-link.h> for unwinder access Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
7b15dabfdd49... |
Lukasz Majewski
lukma @denx.de |
|
||||||||
tst: time: Provide Y2038 tests for mktime (tst-mktime4.c) This change adds new test to assess mktime's functionality. To be more specific - following use cases are checked: - Pass struct tm as epoch time - Pass struct tm as value just before Y2038 threshold (returned value shall be 0x7FFFFFFF) - Pass struct tm as the first value after Y2038 threshold (expected value - 0x80000000) Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
764e9a033435... |
Martin Sebor
msebor @gmail.com |
|
||||||||
Correct buffer end pointer in IO_wdefault_doallocate (BZ #26874) An experimental build of GCC 11 with an enhanced -Warray-bounds reports a bug in IO_wdefault_doallocate where the function forms an invalid past-the-end pointer to an allocated wchar_t buffer by failingf to consider the scaling by sizeof (wchar_t). The fix path below corrects this problem. It keeps the buffer size the same as opposed to increasing it according to what other code like it does. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org> |
||||||||||
6b7efa3d8703... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
Implement _Unwind_Resume in libc on top of <unwind-link.h> Temporarily move the arm _Unwind_Resume implementation to the file used by libpthread. It will be ported to <unwind-link.h> along with the rest of nptl. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
6563d544db4a... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
m68k: Implement backtrace on top of <unwind-link.h> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
600fe89cb1a2... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
sparc: Implement backtrace on top <unwind-link.h> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||||||||||
|
||||||||||
5a664d7ae8e4... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Move elision implementations into libc The elision interfaces are closely aligned between the targets that implement them, so declare them in the generic <lowlevellock.h> file. Empty .c stubs are provided, so that fewer makefile updates under sysdeps are needed. Also simplify initialization via __libc_early_init. The symbols __lll_clocklock_elision, __lll_lock_elision, __lll_trylock_elision, __lll_unlock_elision, __pthread_force_elision move into libc. For the time being, non-hidden references are used from libpthread to access them, but once that part of libpthread is moved into libc, hidden symbols will be used again. (Hidden references seem desirable to reduce the likelihood of transactions aborts.) |
||||||||||
5a051454a9b5... |
Paul Zimmermann
Paul.Zimmermann @inria.fr |
|
||||||||
Add inputs that generate larger error bounds (Using values from https://members.loria.fr/PZimmermann/papers/accuracy.pdf) |
||||||||||
597d0267b5c4... |
Samuel Thibault
samuel.thibault @ens-lyon.org |
|
||||||||
NEWS: Add missing bug closures | ||||||||||
541e53c9ddd9... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Move futex-internal.c into main nptl directory Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
|
||||||||||
418f5783d987... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
build-many-glibcs.py: Use make -O for more consistent log output The -O option avoids interleaving (e.g.) compiler error messages with other build messages, and makes attribution of messages to commands easier. According to my tests, the impact on build time is within the noise. |
||||||||||
3f232aa36dd9... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Split libpthread-routines into one routine per line And sort the lines lexicographically. This will make it easier to review patches which move symbols from libpthread to libc. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
|
||||||||||
3907c7bf0f82... |
Naohiro Tamura
naohirot @fujitsu.com |
|
||||||||
configure: Remove obsolete AC_CHECK_TOOL_PREFIX This patch removes obsolete AC_CHECK_TOOL_PREFIX. It has been confirmed that AC_CHECK_TOOL_PREFIX is defined as NOP in GNU 'autoconf' 2.69 [1], so we can safely remove it. The 'configure' file has been deleted one blank line by the 'autoconf' 2.69 command . [1] autoconf-2.69/share/autoconf/autoconf/programs.m4 181 # AC_CHECK_TOOL_PREFIX 182 # -------------------- 183 AU_DEFUN([AC_CHECK_TOOL_PREFIX]) |
||||||||||
2f4019de8102... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
nptl: Move lowlevellock into libc [BZ #15648] And export __lll_lock_wait and __lll_lock_wait_private as GLIBC_PRIVATE. This should eliminate the need for the previous riscv kludge. |
||||||||||
|
||||||||||
13c0b30b24b1... |
Lukasz Majewski
lukma @denx.de |
|
||||||||
tst: Provide test for difftime This change adds new test to assess difftime's functionality by adding some arbitrary offsets to current time_t value (read via time). If 64 bit time_t is supported, the same procedure is applied around the threshold of Y2038 time overflow. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
0ca1a95d3b62... |
Lukasz Majewski
lukma @denx.de |
|
||||||||
tst: Provide test for ctime This change adds new test to assess ctime's functionality. To be more specific - following use cases are checked: - Pass time_t value as 0 to check if epoch time is converted - Pass time_t as max value for 32 bit systems - Pass time_t as the first value after Y2038 threshold Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |
||||||||||
044e603b6980... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
string: Work around GCC PR 98512 in rawmemchr | ||||||||||
035c012e32c1... |
Florian Weimer
fweimer @redhat.com |
|
||||||||
Reduce the statically linked startup code [BZ #23323] It turns out the startup code in csu/elf-init.c has a perfect pair of ROP gadgets (see Marco-Gisbert and Ripoll-Ripoll, "return-to-csu: A New Method to Bypass 64-bit Linux ASLR"). These functions are not needed in dynamically-linked binaries because DT_INIT/DT_INIT_ARRAY are already processed by the dynamic linker. However, the dynamic linker skipped the main program for some reason. For maximum backwards compatibility, this is not changed, and instead, the main map is consulted from __libc_start_main if the init function argument is a NULL pointer. For statically linked binaries, the old approach based on linker symbols is still used because there is nothing else available. A new symbol version __libc_start_main@@GLIBC_2.34 is introduced because new binaries running on an old libc would not run their ELF constructors, leading to difficult-to-debug issues. |
||||||||||
|
||||||||||