Fix bank assignments from linkerscript

Even though the bank number was read from the linkerscript and the
linker verified that each section could be mapped in the final rom, the
bank number was never actually set by the linkerscript parser.

Signed-off-by: AntonioND <[email protected]>
This commit is contained in:
AntonioND committed 2017-04-02 00:22:37 +01:00
1 parent f0d4750ebc
commit adef2e18cc
3 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -42,6 +42,6 @@ int
IsSectionSameTypeBankAndFloating(const char *name, enum eSectionType type, int bank);
unsigned int
AssignSectionAddressByName(const char *name, unsigned int address);
AssignSectionAddressAndBankByName(const char *name, unsigned int address, int bank);
#endif