shithub: riscv

Download patch

ref: 9c28d40757c806f86f33e0a5ef9cdc9e128656a9
parent: 9b16d63ae3362ee749e28e2f7c2598b311d05d79
author: Jacob Moody <moody@posixcafe.org>
date: Tue Apr 30 21:17:32 EDT 2024

a.out.h: riscv64 increases the MAX_MAGIC

--- a/sys/include/a.out.h
+++ b/sys/include/a.out.h
@@ -35,7 +35,7 @@
 #define	B_MAGIC		_MAGIC(HDR_MAGIC, 30)	/* riscv64 */
 
 #define	MIN_MAGIC	8
-#define	MAX_MAGIC	28			/* <= 90 */
+#define	MAX_MAGIC	30			/* <= 90 */
 
 #define	DYN_MAGIC	0x80000000		/* dlm */