commit | 2eca7b97046e96e5cde4431b6635e0b4173b3e40 | [log] [tgz] |
---|---|---|
author | Michael Walle <michael@walle.cc> | Mon Jun 01 21:53:28 2020 +0200 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Mon Jul 27 14:16:27 2020 +0530 |
tree | 98b34d01ac9e0f408ccc29d62b458a99dcc59372 | |
parent | f6c62f1c9e11dd01cc76ce53709679b22678a8ec [diff] |
armv8: layerscape: load function pointer using ADR Don't use LDR to load a pointer to a function. This will generate a literal which cannot be relocated. Use ADR which is PC-relative and therefore can easily be relocated. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>