X-Git-Url: https://robinkrens.nl/gitweb/?p=cortex-from-scratch;a=blobdiff_plain;f=link.ld;h=5056e38a272eef4c27bd1a826102e0314599e234;hp=bf5b6aff3fe063fb39ad281cdda2a479adbfc3a0;hb=4055b7fa53aac93668e3c85b9424c17fb7e10faf;hpb=7999a79f849390b6c4352252b5243e73811cfc5f diff --git a/link.ld b/link.ld index bf5b6af..5056e38 100644 --- a/link.ld +++ b/link.ld @@ -21,7 +21,7 @@ * * */ -HEAP_SIZE = 0x100; +KHEAP_SIZE = 0x100; MEMORY { @@ -51,7 +51,7 @@ SECTIONS } _endofbss = .; _beginofheap = .; - . = . + HEAP_SIZE; + . = . + KHEAP_SIZE; . = ALIGN(8); _endofheap = .; }