diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-02-03 10:58:59 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-02-10 11:51:55 +0100 |
commit | 8c8510ab2790039e58995ef3a22309582413d3ff (patch) | |
tree | 3ebd93ae5708d2f67a546aeccb200dd5b1dad06c /elf/dl-load.c | |
parent | f19fc997a5754a6c0bb9e43618f0597e878061f7 (diff) | |
download | glibc-8c8510ab2790039e58995ef3a22309582413d3ff.zip glibc-8c8510ab2790039e58995ef3a22309582413d3ff.tar.gz glibc-8c8510ab2790039e58995ef3a22309582413d3ff.tar.bz2 |
Linux: Consolidate auxiliary vector parsing
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>
Diffstat (limited to 'elf/dl-load.c')
0 files changed, 0 insertions, 0 deletions