elf: Introduce rtld_setup_main_map
authorFlorian Weimer <fweimer@redhat.com>
Mon, 17 Jan 2022 08:57:19 +0000 (09:57 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 17 Jan 2022 08:58:27 +0000 (09:58 +0100)
commitb4d4ff8963866367ba861681ef3b1251e122014a
tree4a1b70eb547e69faafdacc7257c74e8e2a4b6de9
parent0eb230ccceee70c4b5d2a75807d2189aa4ed6e7c
elf: Introduce rtld_setup_main_map

This function collects most of the processing needed to initialize
the link map for the main executable.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
elf/rtld.c