glibc/sysdeps
Érico Nogueira 05ae46ee7a linux: implement ttyname as a wrapper around ttyname_r.
Big win in binary size and avoids duplicating the logic in multiple
places.

On x86_64, dropped from 1883206 to 1881790, a 1416 byte decrease.

Also changed logic to track if ttyname_buf has been allocated by
checking if it's NULL instead of tracking buflen as an additional
variable.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-05-07 13:56:02 -03:00
..
aarch64 elf: Remove lazy tlsdesc relocation related code 2021-04-21 14:35:53 +01:00
alpha nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
arc
arm nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00
csky
generic elf, nptl: Initialize static TLS directly in ld.so 2021-05-05 06:20:31 +02:00
gnu Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
hppa nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
htl Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
hurd
i386 Remove architecture specific sched_cpucount optimizations 2021-05-07 13:35:29 -03:00
ia64 Remove architecture specific sched_cpucount optimizations 2021-05-07 13:35:29 -03:00
ieee754
m68k
mach Annotate additional APIs with GCC attribute access. 2021-05-06 11:01:05 -06:00
microblaze
mips
nios2
nptl nptl: Consolidate async cancel enable/disable implementation in libc 2021-05-05 17:19:32 +02:00
posix nptl: Move pthread_setcancelstate into libc 2021-04-21 19:49:50 +02:00
powerpc Remove architecture specific sched_cpucount optimizations 2021-05-07 13:35:29 -03:00
pthread nptl: Move sem_unlink into libc 2021-05-05 17:19:50 +02:00
riscv
s390
sh nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
sparc nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
unix linux: implement ttyname as a wrapper around ttyname_r. 2021-05-07 13:56:02 -03:00
wordsize-32
wordsize-64
x86 x86: Set rep_movsb_threshold to 2112 on processors with FSRM 2021-05-03 05:08:22 -07:00
x86_64 Remove architecture specific sched_cpucount optimizations 2021-05-07 13:35:29 -03:00