mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-05 03:01:05 +00:00
bdc543e338
With the removal of divdi3 object from sparcv9-linux-gnu build, its definition came from libgcc and its functions internall calls .udiv. Since glibc also exports these symbols for compatibility reasons, it will end up creating PLT calls internally in libc.so. To avoid it, this patch uses the linker option --wrap to replace all the internal libc.so .udiv calls to the wrapper __wrap_.udiv. Along with strong alias in the udiv implementations, it makes linker do local calls. Checked on sparcv9-linux-gnu. * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule. * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias to __wrap_.udiv. * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise. * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise. |
||
---|---|---|
.. | ||
fpu | ||
multiarch | ||
addmul_1.S | ||
atomic-machine.h | ||
backtrace.h | ||
bzero.c | ||
cpu_relax.S | ||
dotmul.S | ||
hp-timing.h | ||
Makefile | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memset.S | ||
mul_1.S | ||
pthread_barrier_wait.c | ||
pthread_spin_init.c | ||
pthread_spin_lock.S | ||
pthread_spin_trylock.S | ||
pthread_spin_unlock.S | ||
rawmemchr.S | ||
rem.S | ||
rtld-memcpy.c | ||
rtld-memset.c | ||
sdiv.S | ||
sem_post.c | ||
sem_waitcommon.c | ||
stpcpy.S | ||
stpncpy.S | ||
strcat.S | ||
strchr.S | ||
strcmp.S | ||
strcpy.S | ||
strcspn.S | ||
strlen.S | ||
strncmp.S | ||
strncpy.S | ||
strpbrk.S | ||
strrchr.c | ||
strspn.S | ||
submul_1.S | ||
udiv.S | ||
umul.S | ||
urem.S |