Skip to content
Commit 55f41ef8 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

elf: Remove LD_PROFILE for static binaries



The _dl_non_dynamic_init does not parse LD_PROFILE, which does not
enable profile for dlopen objects.  Since dlopen is deprecated for
static objects, it is better to remove the support.

It also allows to trim down libc.a of profile support.

Checked on x86_64-linux-gnu.
Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 4a133885
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment