about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/dl-support.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-02-28 11:50:41 +0100
committerFlorian Weimer <fweimer@redhat.com>2022-02-28 11:50:41 +0100
commit73fc4e28b9464f0e13edc719a5372839970e7ddb (patch)
tree62b7c150b29bccc23cda28ac57f60d2d1a973481 /sysdeps/unix/sysv/linux/powerpc/dl-support.c
parent1fe00d3eb602a0754873b536dc92fb6226759ee4 (diff)
downloadglibc-73fc4e28b9464f0e13edc719a5372839970e7ddb.tar.gz
glibc-73fc4e28b9464f0e13edc719a5372839970e7ddb.tar.xz
glibc-73fc4e28b9464f0e13edc719a5372839970e7ddb.zip
Linux: Consolidate auxiliary vector parsing (redo)
And optimize it slightly.

This is commit 8c8510ab2790039e58995ef3a22309582413d3ff revised.

In _dl_aux_init in elf/dl-support.c, use an explicit loop
and -fno-tree-loop-distribute-patterns to avoid memset.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/dl-support.c')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/dl-support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-support.c b/sysdeps/unix/sysv/linux/powerpc/dl-support.c
new file mode 100644
index 0000000000..abe68a7049
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/dl-support.c
@@ -0,0 +1,4 @@
+#include <elf/dl-support.c>
+
+/* Populated from the auxiliary vector.  */
+int _dl_cache_line_size;