Use automatic allocation for object file symbols

This commit is contained in:
Rangi42
2024-02-27 12:15:41 -05:00
committed by Sylvie
parent dead69eb2c
commit 4cd88ade54
6 changed files with 63 additions and 76 deletions

View File

@@ -47,7 +47,7 @@ struct Section {
uint8_t *data; // Array of size `size`
std::vector<struct Patch> *patches;
// Extra info computed during linking
std::vector<struct Symbol *> *fileSymbols;
std::vector<struct Symbol> *fileSymbols;
std::vector<struct Symbol *> *symbols;
struct Section *nextu; // The next "component" of this unionized sect
};