Use automatic allocation for section data

This commit is contained in:
Rangi42 authored and Sylvie committed 2024-02-29 13:44:08 -05:00
1 parent 8fe6be19f1
commit 96f354026a
6 files changed
+16 -40

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ struct Section {
bool isAlignFixed;
uint16_t alignMask;
uint16_t alignOfs;
std::vector<uint8_t> *data; // Array of size `size`
std::vector<uint8_t> data; // Array of size `size`, or 0 if `type` does not have data
std::vector<struct Patch> patches;
// Extra info computed during linking
std::vector<struct Symbol> *fileSymbols;