mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix linkerscript not updating section categorization
This commit is contained in:
@@ -366,14 +366,14 @@ void assign_AssignSections(void)
|
||||
if (!sections)
|
||||
err(1, "Failed to allocate memory for section assignment");
|
||||
|
||||
nbSectionsToAssign = 0;
|
||||
sect_ForEach(categorizeSection, NULL);
|
||||
|
||||
initFreeSpace();
|
||||
|
||||
/* Process linker script, if any */
|
||||
processLinkerScript();
|
||||
|
||||
nbSectionsToAssign = 0;
|
||||
sect_ForEach(categorizeSection, NULL);
|
||||
|
||||
/** Place sections, starting with the most constrained **/
|
||||
|
||||
/* Specially process fully-constrained sections because of overlaying */
|
||||
|
||||
Reference in New Issue
Block a user