From d866a17af8128118ceb425e9923977f396dee027 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 3 Feb 2022 17:28:59 +0100 Subject: [PATCH] Limit the size of the binary to not overlap with other code --- src/link.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link.ld b/src/link.ld index ef75601..bcf4a5f 100644 --- a/src/link.ld +++ b/src/link.ld @@ -23,4 +23,4 @@ SECTIONS { } } -ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x30000, "elf is too big"); \ No newline at end of file +ASSERT((SIZEOF(.text) + SIZEOF(.data)) < 0x2F000, "elf is too big"); \ No newline at end of file