diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-09 23:20:22 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-09 23:23:42 -0700 |
commit | 323592969d8d60a5c262aba34c2d75980208dab8 (patch) | |
tree | ff3a10b9a6980b7db1710b1196e908174467d58b /bsp/env/start.S | |
parent | 48548288b65e542d456071e3044c6a86add2eddf (diff) |
Use the correct global pointer symbol
Diffstat (limited to 'bsp/env/start.S')
-rw-r--r-- | bsp/env/start.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bsp/env/start.S b/bsp/env/start.S index 5e0e3f1..e86105b 100644 --- a/bsp/env/start.S +++ b/bsp/env/start.S @@ -7,7 +7,10 @@ .type _start,@function _start: - la gp, _gp +.option push +.option norelax + la gp, __global_pointer$ +.option pop la sp, _sp /* Load data section */ |