Use std::vector for section data

This commit is contained in:
Rangi42
2024-02-27 14:54:00 -05:00
committed by Sylvie
parent 4cd88ade54
commit 52ac98c294
6 changed files with 19 additions and 32 deletions

View File

@@ -44,7 +44,7 @@ struct Section {
bool isAlignFixed;
uint16_t alignMask;
uint16_t alignOfs;
uint8_t *data; // Array of size `size`
std::vector<uint8_t> *data; // Array of size `size`
std::vector<struct Patch> *patches;
// Extra info computed during linking
std::vector<struct Symbol> *fileSymbols;