From 5065a0445170effbffe7005583c3cf89d20fcba3 Mon Sep 17 00:00:00 2001 From: "Kate J. Temkin" Date: Sun, 6 May 2018 21:49:42 -0600 Subject: [PATCH] fusee-secondary: don't create 3GiB output files :) --- fusee/fusee-secondary/linker.ld | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fusee/fusee-secondary/linker.ld b/fusee/fusee-secondary/linker.ld index fca868305..afbb589dd 100644 --- a/fusee/fusee-secondary/linker.ld +++ b/fusee/fusee-secondary/linker.ld @@ -105,6 +105,7 @@ SECTIONS .chainloader : { . = ALIGN(32); + PROVIDE (__chainloader_start = .); KEEP(*(.chainloader.text.start)) build/chainloader.o(.text*) build/chainloader.o(.rodata*) @@ -112,7 +113,8 @@ SECTIONS . = ALIGN(8); build/chainloader.o(.bss*) . = ALIGN(32); - } >low_iram + PROVIDE (__chainloader_end = .); + } >low_iram AT>main .bss : {