diff options
| author | Michael Walle <michael@walle.cc> | 2020-06-01 21:53:28 +0200 |
|---|---|---|
| committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-07-27 14:16:27 +0530 |
| commit | 2eca7b97046e96e5cde4431b6635e0b4173b3e40 (patch) | |
| tree | 98b34d01ac9e0f408ccc29d62b458a99dcc59372 /scripts/const_structs.checkpatch | |
| parent | f6c62f1c9e11dd01cc76ce53709679b22678a8ec (diff) | |
| download | u-boot-2eca7b97046e96e5cde4431b6635e0b4173b3e40.tar.gz u-boot-2eca7b97046e96e5cde4431b6635e0b4173b3e40.tar.xz u-boot-2eca7b97046e96e5cde4431b6635e0b4173b3e40.zip | |
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
