shithub: riscv

Download patch

ref: 1446861bcaf14342e2a1d4914b001025ab3fa80f
parent: b03b762ac8c1665b1608350636517d3fa6ddb801
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Sep 2 16:28:07 EDT 2023

7l: 1 → NOPROF to avoid confusion

--- a/sys/src/cmd/7l/obj.c
+++ b/sys/src/cmd/7l/obj.c
@@ -1259,11 +1259,11 @@
 		if(p->as == ATEXT) {
 			if(p->from.sym == s2) {
 				ps2 = p;
-				p->reg = 1;
+				p->reg = NOPROF;
 			}
 			if(p->from.sym == s4) {
 				ps4 = p;
-				p->reg = 1;
+				p->reg = NOPROF;
 			}
 		}
 	}