shithub: riscv

Download patch

ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
parent: d388629dae7e6ab368015e3fc5c8c12c0e20fae1
author: Jacob Moody <moody@posixcafe.org>
date: Thu May 16 22:54:36 EDT 2024

jl: fix header size

--- a/sys/src/cmd/jl/obj.c
+++ b/sys/src/cmd/jl/obj.c
@@ -130,7 +130,7 @@
 		break;
 	case 2:	/* plan 9 */
 		HEADR = 32L;
-		if (thechar == 'j' && debug['X'])
+		if (thechar == 'j')
 			HEADR += sizeof(vlong);	/* for virtual entry addr. */
 		if(INITTEXT == -1)
 			INITTEXT = 4096 + HEADR;