diff options
| author | Clement Leger <[email protected]> | 2020-03-02 10:38:58 +0100 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2020-03-25 22:29:39 -0700 |
| commit | 73516a33588cde0bfa4742d857f8849da28bddd2 (patch) | |
| tree | 6a783656269a22d2ec1382ac0f98ead2158d5c53 /tools/perf/scripts/python | |
| parent | e4ae4b7d01699d0f3ea61bbef119f2d67e5455c0 (diff) | |
remoteproc: Add elf helpers to access elf64 and elf32 fields
elf32 and elf64 mainly differ by their types. In order to avoid
copy/pasting the whole loader code, generate static inline functions
which will access values according to the elf class. It allows to
keep a common loader basis.
In order to accommodate both elf types sizes, the maximum size for a
elf header member is chosen using the maximum value of the field for
both elf class.
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Mathieu Poirier <[email protected]>
Signed-off-by: Clement Leger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions