src: major cleanups, introduce new eXtended Span class
- initial minimally invasive eXtended Span implementation - rename ptr_diff to ptr_diff_bytes - move some files to util subdir - lots of cleanups - start using the new checked pointers - this needs some real-world testing
This commit is contained in:
+2
-2
@@ -662,7 +662,7 @@ void PackTos::pack(OutputFile *fo) {
|
||||
verifyOverlappingDecompression();
|
||||
|
||||
// copy the overlay
|
||||
copyOverlay(fo, overlay, &obuf);
|
||||
copyOverlay(fo, overlay, obuf);
|
||||
|
||||
// finally check the compression ratio
|
||||
if (!checkFinalCompressionRatio(fo))
|
||||
@@ -713,7 +713,7 @@ void PackTos::unpack(OutputFile *fo) {
|
||||
fo->write(obuf, ph.u_len - FH_SIZE); // orig. text+data+relocs
|
||||
|
||||
// copy any overlay
|
||||
copyOverlay(fo, overlay, &obuf);
|
||||
copyOverlay(fo, overlay, obuf);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user