]> sourceware.org Git - glibc.git/commitdiff
Linux: Include <dl-symbol-redir-ifunc.h> in dl-sysdep.c
authorFlorian Weimer <fweimer@redhat.com>
Tue, 18 Jun 2024 08:56:34 +0000 (10:56 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 18 Jun 2024 08:56:34 +0000 (10:56 +0200)
The _dl_sysdep_parse_arguments function contains initalization
of a large on-stack variable:

  dl_parse_auxv_t auxv_values = { 0, };

This uses a non-inline version of memset on powerpc64le-linux-gnu,
so it must use the baseline memset.

sysdeps/unix/sysv/linux/dl-sysdep.c

index e1b14e9eb34ff5cb8a731177d323fbc8ef89eff8..a8ec2d7c18cc423e01b26069ce5ad4248b710ead 100644 (file)
@@ -40,6 +40,7 @@
 #include <sys/utsname.h>
 #include <tls.h>
 #include <unistd.h>
+#include <dl-symbol-redir-ifunc.h>
 
 #include <dl-machine.h>
 #include <dl-hwcap-check.h>
This page took 0.040719 seconds and 5 git commands to generate.