mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Implement unionized sections in RGBLINK
This commit is contained in:
@@ -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 */
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user