Cleaning up a comment
This commit is contained in:
parent
b78f21ed21
commit
9aa8460825
|
@ -19,7 +19,6 @@ unsafe extern "C" fn _enter() -> ! {
|
||||||
".option push", // pushes the current option stack
|
".option push", // pushes the current option stack
|
||||||
".option norelax", // disable relaxation so we can properly set `gp`
|
".option norelax", // disable relaxation so we can properly set `gp`
|
||||||
// this instruction compiles to:
|
// this instruction compiles to:
|
||||||
// 1:
|
|
||||||
// auipc gp, %pcrel_hi(_global_pointer)
|
// auipc gp, %pcrel_hi(_global_pointer)
|
||||||
// addi gp, gp, %pcrel_lo(1b)
|
// addi gp, gp, %pcrel_lo(1b)
|
||||||
// if relaxation were on, this would simply be `mv gp, gp` or `addi gp, gp, 0`
|
// if relaxation were on, this would simply be `mv gp, gp` or `addi gp, gp, 0`
|
||||||
|
|
Loading…
Reference in a new issue