1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-13 03:22:30 +03:00
Files
glibc/sysdeps/unix/sysv/linux/powerpc/dl-support.c
Florian Weimer 150039ff07 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>
(cherry picked from commit 8c8510ab27)
2022-05-17 08:08:52 +02:00

5 lines
98 B
C

#include <elf/dl-support.c>
/* Populated from the auxiliary vector. */
int _dl_cache_line_size;