glibc/sysdeps
Florian Weimer a78e6a10d0 i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771)
The configure check for CAN_USE_REGISTER_ASM_EBP tried to compile a
simple function that uses %ebp as an inline assembly operand.  If
compilation failed, CAN_USE_REGISTER_ASM_EBP was set 0, which
eventually had these consequences:

(1) %ebx was avoided as an inline assembly operand, with an
    assembler macro hack to avoid unnecessary register moves.
(2) %ebp was avoided as an inline assembly operand, using an
    out-of-line syscall function for 6-argument system calls.

(1) is no longer needed for any GCC version that is supported for
building glibc.  %ebx can be used directly as a register operand.
Therefore, this commit removes the %ebx avoidance completely.  This
avoids the assembler macro hack, which turns out to be incompatible
with the current Systemtap probe macros (which switch to .altmacro
unconditionally).

(2) is still needed in many build configurations.  The existing
configure check cannot really capture that because the simple function
succeeds to compile, while the full glibc build still fails.
Therefore, this commit removes the check, the CAN_USE_REGISTER_ASM_EBP
macro, and uses the out-of-line syscall function for 6-argument system
calls unconditionally.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
2022-01-13 14:59:44 +01:00
..
aarch64 AArch64: Check for SVE in ifuncs [BZ #28744] 2022-01-06 14:36:28 +00:00
alpha Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
arm Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
csky Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
generic elf: Fix 64 time_t support for installed statically binaries 2022-01-12 10:30:10 -03:00
gnu Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
hppa Restore ENTRY_POINT definition on hppa, ia64 (bug 28749) 2022-01-07 14:47:31 +01:00
htl Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
hurd Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
i386 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ia64 Restore ENTRY_POINT definition on hppa, ia64 (bug 28749) 2022-01-07 14:47:31 +01:00
ieee754 math: Fix float conversion regressions with gcc-12 [BZ #28713] 2022-01-10 14:27:17 +00:00
m68k Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mach Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
microblaze Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mips elf: Add <dl-debug.h> 2022-01-03 05:16:03 -08:00
nios2 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
nptl Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
or1k or1k: Build Infrastructure 2022-01-05 06:40:06 +09:00
posix Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
powerpc debug: Remove catchsegv and libSegfault (BZ #14913) 2022-01-06 07:59:49 -03:00
pthread Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
riscv Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s390 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sh Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
sparc Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
unix i386: Remove broken CAN_USE_REGISTER_ASM_EBP (bug 28771) 2022-01-13 14:59:44 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x86_64 x86_64: Fix SSE4.2 libmvec atan2 function accuracy [BZ #28765] 2022-01-12 13:23:22 -08:00