Skip to content
Commit 92201f16 authored by Adam Jackson's avatar Adam Jackson Committed by Florian Weimer
Browse files

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: 3020f726 ("libio: Remove the usage of __libc_IO_vtables")
Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
Tested-by: default avatarFlorian Weimer <fweimer@redhat.com>
(cherry picked from commit 8cb69e05)
parent 5bdef6f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment