Revisions for untitled paste

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2021-12-22 14:16:54 UTC

assert.diff

@@ -0,0 +1,10 @@

+diff --git a/m1n1-raw.ld b/m1n1-raw.ld
+index 61c51df..463a361 100644
+--- a/m1n1-raw.ld
++++ b/m1n1-raw.ld
+@@ -146,3 +146,5 @@ SECTIONS {
+ PROT_READ = 0x01;
+ PROT_WRITE = 0x02;
+ PROT_EXECUTE = 0x04;
++
++ASSERT(_base + 2048 == _start, "_start must be first!")
\ No newline at end of file