Fix linkerscript not updating section categorization

This commit is contained in:
ISSOtm committed 2019-11-02 22:37:10 +01:00
1 parent 9b895e8a0a
commit 50804d661a
1 file changed
+3 -3
+3 -3
View File
@@ -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 */