diff options
author | Jerome Forissier <jerome@forissier.org> | 2020-07-21 10:55:11 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2020-08-06 11:10:44 +0200 |
commit | 01b02a1626cda5cda6fa202ba58220e512c82653 (patch) | |
tree | c442cd07859d3a95f830aeed13da6f3163140f6c /ldelf/dl.c | |
parent | 9d224046e71083e0fe3e8c26c22f729399c2c950 (diff) |
ldelf, libutee: rework support of DT_INIT_ARRAY/DT_FINI_ARRAY
Now that we have the standard function dl_iterate_phdr() in libutee, we
can use it to process the initialization and finalization arrays in the
ELF files and deprecate the ad-hoc structure __init_fini_info
introduced in commit dd655cb9906c ("ldelf, ta: add support for
DT_INIT_ARRAY and DT_FINI_ARRAY") [1].
Unfortunately, removing __init_fini_info is not an option if we want to
ensure backward compatibility. This concerns only TAs which use ELF
initialization and/or finalization functions.
[1] Released in version 3.9.0.
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'ldelf/dl.c')
0 files changed, 0 insertions, 0 deletions