diff options
author | Jerome Forissier <jerome@forissier.org> | 2020-07-21 10:55:07 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2020-08-06 11:10:44 +0200 |
commit | cc4de916e62aeac51d87d4d2de84e749a94cfc86 (patch) | |
tree | 4627500f29b244401bb008cf310c6777d9aaa2fe /ldelf/dl.c | |
parent | 9f84b6f28f1db8cbae6551ca709a1cd1efed98fd (diff) |
libutee: add <elf.h>
Preparing for C++ support in TAs.
Adds header file <elf.h> in addition to <elf32.h> and <elf64.h>. This
file defines the various Elf types depending on the current
architecture. In other words: when building for Aarch32 Elf_* is defined
as Elf32_*, but when building for Aarch64 it is defined as Elf64_*. This
will be useful for programs which need to examine their own structure
via dl_iterate_phdr() (which will come in a later commit).
Note: <elf.h> serves the same purpose as FreeBSD's <sys/elf.h> but does
it differently; the file is not imported from FreeBSD.
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