[PATCH 0/1] __libc_start_main() now uses auxv to obtain phdr's address [BZ #29864]
Florian Weimer
fweimer@redhat.com
Thu Dec 8 18:54:54 GMT 2022
* Yago Gutiérrez via Libc-alpha:
> From bf2371ce732194f652719aff4af0f9021f9cbd90 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Yago=20Guti=C3=A9rrez?= <yagogl@protonmail.com>
> Date: Wed, 7 Dec 2022 12:49:22 +0100
> Subject: [PATCH 1/1] __libc_start_main() now uses auxv to obtain phdr's
> address [BZ #29864]
> To: libc-alpha@sourceware.org
This needs a much more elaborate commit message.
I don't quite get why you need to add this to _rtld_global. This is
only used by the static startup code.
This looks like it is a fix for the refactoring in:
commit 73fc4e28b9464f0e13edc719a5372839970e7ddb
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Feb 28 11:50:41 2022 +0100
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>
What are the actual failures you see?
Thanks,
Florian
More information about the Libc-alpha
mailing list