diff --git a/src/main.rs b/src/main.rs index 3b2d764..7ff4b9d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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`