diff options
author | Michal Simek | 2022-06-24 14:15:00 +0200 |
---|---|---|
committer | Michal Simek | 2022-06-24 14:15:00 +0200 |
commit | 986727ca11425942807e226fe50c16e4b223a4e5 (patch) | |
tree | b5dd01d4ad14817a6dcae877c7bb4b9912622143 /arch/microblaze/cpu | |
parent | 3041b512ebed13e29144cf5b9524e714c4aa458e (diff) |
microblaze: Remove code around r20 in relocate_code()
r20 is not used that's why remove logic around it.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/1b32bab5c050d099b2f6d49bc4896322ed03d788.1655299267.git.michal.simek@amd.com
Diffstat (limited to 'arch/microblaze/cpu')
-rw-r--r-- | arch/microblaze/cpu/start.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index f2d6d12deb7..c3d925c1d15 100644 --- a/arch/microblaze/cpu/start.S +++ b/arch/microblaze/cpu/start.S @@ -310,11 +310,6 @@ relocate_code: bneid r12, 3b addik r21. r21, 4 - /* Update pointer to GOT */ - mfs r20, rpc - addik r20, r20, _GLOBAL_OFFSET_TABLE_ + 8 - addk r20, r20, r23 - /* Flush caches to ensure consistency */ addik r5, r0, 0 addik r6, r0, XILINX_DCACHE_BYTE_SIZE |