Rename OPT_SMALL to OPT_TINY

This way it is easier to identify the flag passed to the binary (-t).

Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
AntonioND
2017-04-02 21:39:40 +01:00
parent e16af28676
commit e9ed81074b
5 changed files with 8 additions and 8 deletions

View File

@@ -390,7 +390,7 @@ AssignSections(void)
if (i == BANK_ROM0) {
/* ROM0 bank */
BankFree[i]->nOrg = 0x0000;
if (options & OPT_SMALL) {
if (options & OPT_TINY) {
BankFree[i]->nSize = 0x8000;
} else {
BankFree[i]->nSize = 0x4000;
@@ -402,7 +402,7 @@ AssignSections(void)
* Now, this shouldn't really be necessary... but for
* good measure we'll do it anyway.
*/
if (options & OPT_SMALL) {
if (options & OPT_TINY) {
BankFree[i]->nSize = 0;
} else {
BankFree[i]->nSize = 0x4000;