We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60ea4b2 + 8c1e7d4 commit bbf3382Copy full SHA for bbf3382
src/tools/bootimage-generator/main.cpp
@@ -1851,10 +1851,6 @@ void writeBootImage2(Thread* t,
1851
abort();
1852
}
1853
1854
- SymbolInfo bootimageSymbols[]
1855
- = {SymbolInfo(0, bootimageStart),
1856
- SymbolInfo(bootimageData.length, bootimageEnd)};
1857
-
1858
uint8_t* bootimage;
1859
unsigned bootimageLength;
1860
if (useLZMA) {
@@ -1874,6 +1870,10 @@ void writeBootImage2(Thread* t,
1874
1870
bootimageLength = bootimageData.length;
1875
1871
1876
1872
1873
+ SymbolInfo bootimageSymbols[]
+ = {SymbolInfo(0, bootimageStart),
+ SymbolInfo(bootimageLength, bootimageEnd)};
+
1877
platform->writeObject(bootimageOutput,
1878
Slice<SymbolInfo>(bootimageSymbols, 2),
1879
Slice<const uint8_t>(bootimage, bootimageLength),
0 commit comments