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