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 <antonio_nd@outlook.com>
This commit is contained in:
AntonioND
2017-04-02 00:18:19 +01:00
parent f0d4750ebc
commit adef2e18cc
3 changed files with 7 additions and 3 deletions

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