diff options
author | Georg Kotheimer <georg.kotheimer@kernkonzept.com> | 2025-03-03 16:41:13 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-04 07:43:56 +0100 |
commit | 227b7c825b6c79479f7222be03e83991b927da26 (patch) | |
tree | 3e731e65d7dc915ee292d7694514cc254a02714a /extra | |
parent | d2739d1cd3c6b89f0f4e3b36d2d9b47d5b79e311 (diff) |
Make getauxval work with static linking
While for dynamic linking the _dl_auxvt array is provided in
dl-startup.c as part of the ldso, is was undefined for statically
linked binaries. This resulted in a corresponding linker error if
a statically linked program used getauxval.
To provide _dl_auxvt also for statically linked binaries, a definition
of _dl_auxvt is added to dl-support.c and initialized by _dl_aux_init().
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions