diff mbox series

Linux: Include <dl-symbol-redir-ifunc.h> in dl-sysdep.c

Message ID 87tthr1cly.fsf@oldenburg.str.redhat.com
State New
Headers show
Series Linux: Include <dl-symbol-redir-ifunc.h> in dl-sysdep.c | expand

Commit Message

Florian Weimer June 17, 2024, 9:30 p.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)


base-commit: 55eb99e9a9d840ba452b128be14d6529c2dde039

Comments

Andreas Schwab June 18, 2024, 8:36 a.m. UTC | #1
On Jun 17 2024, Florian Weimer wrote:

> 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.

Ok.
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.c b/sysdeps/unix/sysv/linux/dl-sysdep.c
index e1b14e9eb3..a8ec2d7c18 100644
--- a/sysdeps/unix/sysv/linux/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/dl-sysdep.c
@@ -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>