diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-06-06 15:01:20 -0400 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-04 11:51:29 +0900 |
commit | 851bf31df898b1569571244ce2094b59a9efcb7f (patch) | |
tree | 7cff8527876e64907dbb05f0acd563652abf4c02 /utils/hooks | |
parent | d68a29771f47bccd45fae72eef86ee6586deaf63 (diff) |
libcamera: ipa_module: elfLoadSymbol find symbol regardless of size
Make elfLoadSymbol more generic by making the symbol size an output
rather than an input. Also move the memcpy out of elfLoadSymbol.
If the size of struct IPAModuleInfo changes between versions, we still
want to be able to load it and perhaps do conversions for backwards
compatibility. In this case the size should not be a restriction when
searching for the symbol.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/hooks')
0 files changed, 0 insertions, 0 deletions