mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-13 03:22:30 +03:00
And optimize it slightly.
The large switch statement in _dl_sysdep_start can be replaced with
a large array. This reduces source code and binary size. On
i686-linux-gnu:
Before:
text data bss dec hex filename
7791 12 0 7803 1e7b elf/dl-sysdep.os
After:
text data bss dec hex filename
7135 12 0 7147 1beb elf/dl-sysdep.os
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit 8c8510ab27
)
5 lines
98 B
C
5 lines
98 B
C
#include <elf/dl-support.c>
|
|
|
|
/* Populated from the auxiliary vector. */
|
|
int _dl_cache_line_size;
|