Commit 85b6e818 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

Rewrite to avoid the use of $at. Unfortunately binutils 2.15 and CVS

binutils are broken and don't warn about this use of $at even though
gas is in .set noat mode so this for now is an accident waiting to
Signed-off-by: default avatarRalf Baechle <>
parent f4b7cdb4
......@@ -78,7 +78,12 @@
dsrl k1, 23
dsll k1, k1, 3
LONG_L k1, kernelsp(k1)
lui k0, %highest(kernelsp)
daddiu k0, %higher(kernelsp)
dsll k0, k0, 16
daddiu k0, %hi(kernelsp)
daddu k1, k1, k0
LONG_L k1, %lo(kernelsp)(k1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment