Implement unionized sections in RGBLINK

This commit is contained in:
ISSOtm
2020-03-20 23:44:02 +01:00
parent cb52ae0f26
commit e123b6dec7
11 changed files with 181 additions and 39 deletions

View File

@@ -37,6 +37,7 @@ struct Section {
char *name;
uint16_t size;
enum SectionType type;
bool isUnion;
bool isAddressFixed;
uint16_t org;
bool isBankFixed;
@@ -50,6 +51,7 @@ struct Section {
struct Symbol **fileSymbols;
uint32_t nbSymbols;
struct Symbol const **symbols;
struct Section *nextu; /* The next "component" of this unionized sect */
};
/*

View File

@@ -14,7 +14,7 @@
#define RGBDS_OBJECT_VERSION_STRING "RGB%1hhu"
#define RGBDS_OBJECT_VERSION_NUMBER (uint8_t)9
#define RGBDS_OBJECT_REV 2
#define RGBDS_OBJECT_REV 3
enum AssertionType {
ASSERT_WARN,