ref: 9b895e8a0ab5197c66bc1c58317331391c802954
parent: 4600f70fef49f070e7fabb2b8f653edb5e0f72b4
author: ISSOtm <[email protected]>
date: Fri Oct 11 15:02:01 EDT 2019
Fix bank-fixed sections going in any bank
--- a/src/link/assign.c
+++ b/src/link/assign.c
@@ -193,6 +193,9 @@
/* Try again with the new location/free space combo */
}
+ if (section->isBankFixed)
+ return NULL;
+
/* Try again in the next bank */
location->bank++;
if (location->bank > bankranges[section->type][1])