mirror of
https://github.com/rui314/mold.git
synced 2026-11-07 09:16:04 -10:00
Removing macho/util.rs had turned its push16/32/64 into a push variant of every reader and writer in mold-common's endian.rs, twelve functions of which the Mach-O linker used three. Appending to a Vec doesn't belong with reading and writing integers in place, so endian.rs is back as it was, and push16, push32 and push64 live in macho.rs beside the Mach-O linker's other little-endian helpers. Co-Authored-By: Claude Opus 5.5 <[email protected]>