mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-07 12:45:34 +00:00
Report locations for RGBLINK errors with conflicting objects (#1494)
This requires updating the object file format to record the fstack context for sections themselves, not just for patches.
This commit is contained in:
1 parent
8cd0e66297
commit
1dcc000572
26 files changed
+173
-79
No files matched your search
@@ -46,6 +46,8 @@ struct Section {
|
||||
bool isAlignFixed;
|
||||
uint16_t alignMask;
|
||||
uint16_t alignOfs;
|
||||
FileStackNode const *src;
|
||||
int32_t lineNo;
|
||||
std::vector<uint8_t> data; // Array of size `size`, or 0 if `type` does not have data
|
||||
std::vector<Patch> patches;
|
||||
// Extra info computed during linking
|
||||
|
||||
@@ -25,7 +25,6 @@ struct Symbol {
|
||||
// Info contained in the object files
|
||||
std::string name;
|
||||
ExportLevel type;
|
||||
char const *objFileName;
|
||||
FileStackNode const *src;
|
||||
int32_t lineNo;
|
||||
Either<
|
||||
|
||||
Reference in new issue
Block a user