about summary refs log tree commit diff
path: root/nptl/pthread_spin_lock.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2023-09-08 15:55:19 -0400
committerFlorian Weimer <fweimer@redhat.com>2023-09-08 23:00:04 +0200
commit8cb69e054386f980f9ff4d93b157861d72b2019e (patch)
treec563b8054c631cf373e762e4b937035e9aa61e73 /nptl/pthread_spin_lock.c
parentdeeaa5e90fcb45c7e58e4fd84d83bda46834680c (diff)
downloadglibc-8cb69e054386f980f9ff4d93b157861d72b2019e.tar.gz
glibc-8cb69e054386f980f9ff4d93b157861d72b2019e.tar.xz
glibc-8cb69e054386f980f9ff4d93b157861d72b2019e.zip
libio: Fix oversized __io_vtables
IO_VTABLES_LEN is the size of the struct array in bytes, not the number
of __IO_jump_t's in the array. Drops just under 384kb from .rodata on
LP64 machines.

Fixes: 3020f72618e ("libio: Remove the usage of __libc_IO_vtables")
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Tested-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'nptl/pthread_spin_lock.c')
0 files changed, 0 insertions, 0 deletions