gHeap can go in the middle of ram (#4253)

This commit is contained in:
DizzyEggg 2024-03-06 22:27:21 +01:00 committed by GitHub
parent a36cfb1093
commit 95270e5400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,11 +18,6 @@ SECTIONS {
ALIGN(4)
{
__ewram_start = .;
/*
We link malloc.o here to prevent `gHeap` from landing in the middle of EWRAM.
Otherwise this causes corruption issues on some ld versions
*/
gflib/malloc.o(ewram_data);
*(.ewram*)
__ewram_end = .;
} > EWRAM